

{"id":3918,"date":"2017-09-02T10:02:47","date_gmt":"2017-09-02T10:02:47","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=3918"},"modified":"2017-09-02T10:02:47","modified_gmt":"2017-09-02T10:02:47","slug":"apache-hive-architecture","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/","title":{"rendered":"Apache Hive Architecture &#8211; Complete Working of Hive with Hadoop"},"content":{"rendered":"<p><strong>Explore the architecture of Hive, which replaces the complex MapReduce jobs with simple SQL like queries (HQL).<\/strong><\/p>\n<p>In our previous blog, we have discussed what is\u00a0<strong>Apache Hive<\/strong>\u00a0in detail. Now we are going to discuss Hive Architecture in detail. The article first gives a short introduction to Apache Hive.<\/p>\n<p>Then we will see the Hive architecture and its main components. We will also see the working of the Apache Hive in this Hive Architecture tutorial.<\/p>\n<p>Let us first start with the Introduction to Apache Hive.<\/p>\n<h2>What is Hive?<\/h2>\n<p>Apache Hive is an <strong>open-source data warehousing tool<\/strong> for performing distributed processing and data analysis. It was developed by <strong>Facebook<\/strong> to reduce the work of writing the Java MapReduce program.<\/p>\n<p>Apache Hive uses a <strong>Hive Query language<\/strong>, which is a declarative language similar to SQL. Hive translates the hive queries into MapReduce programs.<\/p>\n<p>It supports developers to perform processing and analyses on structured and semi-structured data by replacing complex java MapReduce programs with hive queries.<\/p>\n<p>One who is familiar with SQL commands can easily write the hive queries.<\/p>\n<p>Hive makes the job easy for performing operations like<\/p>\n<ul>\n<li>Analysis of huge datasets<\/li>\n<li>Ad-hoc queries<\/li>\n<li>Data encapsulation<\/li>\n<\/ul>\n<h2>Hive Architecture<\/h2>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76481\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components.jpg\" alt=\"hive architecture and hive components\" width=\"805\" height=\"876\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components.jpg 805w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components-138x150.jpg 138w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components-276x300.jpg 276w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components-768x836.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/hive-architecture-and-its-components-520x566.jpg 520w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/a><\/p>\n<p>The above figure shows the architecture of Apache Hive and its major components. The major components of Apache Hive are:<\/p>\n<ol>\n<li><strong>Hive Client<\/strong><\/li>\n<li><strong>Hive Services<\/strong><\/li>\n<li><strong>Processing and Resource Management<\/strong><\/li>\n<li><strong>Distributed Storage<\/strong><\/li>\n<\/ol>\n<h3>[ps2id id=&#8217;Hive-Client&#8217; target=&#8221;\/]Hive Client<\/h3>\n<p>Hive supports applications written in any language like Python, Java, C++, Ruby, etc. using JDBC, ODBC, and Thrift drivers, for performing queries on the Hive. Hence, one can easily write a hive client application in any language of its own choice.<\/p>\n<p>Hive clients are categorized into three types:<\/p>\n<h4>1. Thrift Clients<\/h4>\n<p>The Hive server is based on Apache Thrift so that it can serve the request from a thrift client.<\/p>\n<h4>2. JDBC client<\/h4>\n<p>Hive allows for the Java applications to connect to it using the JDBC driver. JDBC driver uses Thrift to communicate with the Hive Server.<\/p>\n<h4>3. ODBC client<\/h4>\n<p>Hive ODBC driver allows applications based on the ODBC protocol to connect to Hive. Similar to the JDBC driver, the ODBC driver uses Thrift to communicate with the Hive Server.<\/p>\n<h3>[ps2id id=&#8217;Hive-Services&#8217; target=&#8221;\/]Hive Service<\/h3>\n<p>To perform all queries, Hive provides various services like the Hive server2, Beeline, etc. The various services offered by Hive are:<\/p>\n<h4>1. Beeline<\/h4>\n<p>The Beeline is a command shell supported by HiveServer2, where the user can submit its queries and command to the system. It is a <strong>JDBC<\/strong> client that is based on <strong>SQLLINE CLI<\/strong> (pure Java-console-based utility for connecting with relational databases and executing SQL queries).<\/p>\n<h4>2. Hive Server 2<\/h4>\n<p>HiveServer2 is the successor of HiveServer1. HiveServer2 enables clients to execute queries against the Hive. It allows multiple clients to submit requests to Hive and retrieve the final results. It is basically designed to provide the best support for open API clients like JDBC and ODBC.<\/p>\n<p><strong>Note:<\/strong> Hive server1, also called a Thrift server, is built on Apache Thrift protocol to handle the cross-platform communication with Hive. It allows different client applications to submit requests to Hive and retrieve the final results.<\/p>\n<p>It does not handle concurrent requests from more than one client due to which it was replaced by HiveServer2.<\/p>\n<h4>3. Hive Driver<\/h4>\n<p>The Hive driver receives the <strong>HiveQL<\/strong> statements submitted by the user through the command shell. It creates the session handles for the query and sends the query to the compiler.<\/p>\n<h4>4. Hive Compiler<\/h4>\n<p>Hive compiler parses the query. It performs semantic analysis and type-checking on the different query blocks and query expressions by using the metadata stored in metastore and generates an execution plan.<\/p>\n<p>The execution plan created by the compiler is the <strong>DAG(Directed Acyclic Graph)<\/strong>, where each stage is a map\/reduce job, operation on HDFS, a metadata operation.<\/p>\n<h4>5. Optimizer<\/h4>\n<p>Optimizer performs the transformation operations on the execution plan and splits the task to improve efficiency and scalability.<\/p>\n<h4>6. Execution Engine<\/h4>\n<p>Execution engine, after the compilation and optimization steps, executes the execution plan created by the compiler in order of their dependencies using Hadoop.<\/p>\n<h4>7. Metastore<\/h4>\n<p>Metastore is a central repository that stores the metadata information about the structure of tables and partitions, including column and column type information.<\/p>\n<p>It also stores information of serializer and deserializer, required for the read\/write operation, and HDFS files where data is stored. This metastore is generally a relational database.<\/p>\n<p>Metastore provides a Thrift interface for querying and manipulating Hive metadata.<\/p>\n<p>We can configure metastore in any of the two modes:<\/p>\n<ul>\n<li><strong>Remote:<\/strong> In remote mode, metastore is a Thrift service and is useful for non-Java applications.<\/li>\n<li><strong>Embedded:<\/strong> In embedded mode, the client can directly interact with the metastore using JDBC.<\/li>\n<\/ul>\n<h4>8. HCatalog<\/h4>\n<p>HCatalog is the table and storage management layer for Hadoop. It enables users with different data processing tools such as Pig, MapReduce, etc. to easily read and write data on the grid.<\/p>\n<p>It is built on the top of Hive metastore and exposes the tabular data of Hive metastore to other data processing tools.<\/p>\n<h4>9. WebHCat<\/h4>\n<p>WebHCat is the REST API for HCatalog. It is an HTTP interface to perform Hive metadata operations. It provides a service to the user for running Hadoop MapReduce (or YARN), Pig, Hive jobs.<\/p>\n<h3>[ps2id id=&#8217;Processing-and-Resource-Management&#8217; target=&#8221;\/]Processing Framework and Resource Management<\/h3>\n<p>Hive internally uses a <strong>MapReduce<\/strong> framework as a defacto engine for executing the queries.<\/p>\n<p>MapReduce is a software framework for writing those applications that process a massive amount of data in parallel on the large clusters of commodity hardware. MapReduce job works by splitting data into chunks, which are processed by map-reduce tasks.<\/p>\n<h3>[ps2id id=&#8217;Distributed-Storage&#8217; target=&#8221;\/]Distributed Storage<\/h3>\n<p>Hive is built on top of Hadoop, so it uses the underlying Hadoop Distributed File System for the distributed storage.<\/p>\n<p>Let us now see how to process data with Apache Hive.<\/p>\n<h3>Working of Hive<\/h3>\n<p><strong>Step 1: executeQuery:<\/strong> The user interface calls the execute interface to the driver.<\/p>\n<p><strong>Step 2: getPlan:<\/strong> The driver accepts the query, creates a session handle for the query, and passes the query to the compiler for generating the execution plan.<\/p>\n<p><strong>Step 3: getMetaData:<\/strong> The compiler sends the metadata request to the metastore.<\/p>\n<p><strong>Step 4: sendMetaData:<\/strong> The metastore sends the metadata to the compiler.<\/p>\n<p>The compiler uses this metadata for performing type-checking and semantic analysis on the expressions in the query tree. The compiler then generates the execution plan (<strong>Directed acyclic Graph<\/strong>). For Map Reduce jobs, the plan contains <strong>map operator trees<\/strong> (operator trees which are executed on mapper) and <strong>reduce operator tree<\/strong> (operator trees which are executed on reducer).<\/p>\n<p><strong>Step 5: sendPlan:<\/strong> The compiler then sends the generated execution plan to the driver.<\/p>\n<p><strong>Step 6: executePlan:<\/strong> After receiving the execution plan from compiler, driver sends the execution plan to the execution engine for executing the plan.<\/p>\n<p><strong>Step 7:\u00a0submit job to MapReduce:\u00a0<\/strong>The execution engine then sends these stages of DAG to appropriate components.<\/p>\n<p>For each task, either mapper or reducer, the deserializer associated with a table or intermediate output is used in order to read the rows from HDFS files. These are then passed through the associated operator tree.<\/p>\n<p>Once the output gets generated, it is then written to the HDFS temporary file through the serializer. These temporary HDFS files are then used to provide data to the subsequent map\/reduce stages of the plan.<\/p>\n<p>For DML operations, the final temporary file is then moved to the table&#8217;s location.<\/p>\n<p><strong>Step 8,9,10: sendResult:<\/strong>\u00a0Now for queries, the execution engine reads the contents of the temporary files directly from HDFS as part of a fetch call from the driver. The driver then sends results to the Hive interface.<\/p>\n<h2>Summary<\/h2>\n<p>In short, we can summarize the Hive Architecture tutorial by saying that Apache Hive is an open-source data warehousing tool. The major components of Apache Hive are the Hive clients, Hive services, Processing framework and Resource Management, and the Distributed Storage.<\/p>\n<p>The user interacts with the Hive through the user interface by submitting Hive queries.<\/p>\n<p>The driver passes the Hive query to the compiler. The compiler generates the execution plan. The Execution engine executes the plan.<\/p>\n<p>If in case you feel any query related to this Hive Architecture tutorial, so please leave your comment below.<\/p>\n<p>Keep Learning!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Explore the architecture of Hive, which replaces the complex MapReduce jobs with simple SQL like queries (HQL). In our previous blog, we have discussed what is\u00a0Apache Hive\u00a0in detail. Now we are going to discuss&#46;&#46;&#46;<\/p>\n","protected":false},"author":7,"featured_media":76487,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[800,22007,22009,22011,5678,22010,22012,22008],"class_list":["post-3918","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hive","tag-apache-hive","tag-apache-hive-architecture","tag-architecture-of-hive","tag-components-of-hive-architecture","tag-hive-architecture","tag-hive-architecture-diagram","tag-hive-architecture-in-big-data","tag-hive-architecture-in-hadoop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Apache Hive Architecture - Complete Working of Hive with Hadoop - DataFlair<\/title>\n<meta name=\"description\" content=\"Apache Hive Architecture tutorial cover Hive components, hive client, hive services, hive metastore, servers, hive drivers, Hive data processing flowchart.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache Hive Architecture - Complete Working of Hive with Hadoop - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Apache Hive Architecture tutorial cover Hive components, hive client, hive services, hive metastore, servers, hive drivers, Hive data processing flowchart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-09-02T10:02:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache Hive Architecture - Complete Working of Hive with Hadoop - DataFlair","description":"Apache Hive Architecture tutorial cover Hive components, hive client, hive services, hive metastore, servers, hive drivers, Hive data processing flowchart.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/","og_locale":"en_US","og_type":"article","og_title":"Apache Hive Architecture - Complete Working of Hive with Hadoop - DataFlair","og_description":"Apache Hive Architecture tutorial cover Hive components, hive client, hive services, hive metastore, servers, hive drivers, Hive data processing flowchart.","og_url":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2017-09-02T10:02:47+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/beb0cab24b7aa54423a3b50e669a9dcd"},"headline":"Apache Hive Architecture &#8211; Complete Working of Hive with Hadoop","datePublished":"2017-09-02T10:02:47+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/"},"wordCount":1365,"commentCount":4,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg","keywords":["apache hive","apache hive architecture","architecture of hive","components of hive architecture","hive architecture","hive architecture diagram","hive architecture in big data","hive architecture in Hadoop"],"articleSection":["Hive Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/","url":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/","name":"Apache Hive Architecture - Complete Working of Hive with Hadoop - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg","datePublished":"2017-09-02T10:02:47+00:00","description":"Apache Hive Architecture tutorial cover Hive components, hive client, hive services, hive metastore, servers, hive drivers, Hive data processing flowchart.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/09\/Hive-Architecture.jpg","width":802,"height":420,"caption":"Hive Architecture"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Hive Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/hive\/"},{"@type":"ListItem","position":3,"name":"Apache Hive Architecture &#8211; Complete Working of Hive with Hadoop"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/beb0cab24b7aa54423a3b50e669a9dcd","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c322416204232f4dd97ef3901b0a499a5d34d7ba7fe333f4bfe53a907873d293?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team specializes in creating clear, actionable content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Backed by industry expertise, we make learning easy and career-oriented for beginners and pros alike.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam3\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/3918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=3918"}],"version-history":[{"count":0,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/3918\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/76487"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=3918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=3918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=3918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}