{"id":2198,"date":"2019-09-21T13:24:39","date_gmt":"2019-09-21T13:24:39","guid":{"rendered":"https:\/\/nub8.net\/?p=2198"},"modified":"2026-04-08T14:06:30","modified_gmt":"2026-04-08T14:06:30","slug":"what-is-apache-hive-hadoop","status":"publish","type":"post","link":"https:\/\/www.nub8.net\/es\/what-is-apache-hive-hadoop\/","title":{"rendered":"What is Apache Hive -Hadoop?"},"content":{"rendered":"<p>Hadoop was a real solution for companies, observing to store and manage huge volumes of data. Though, investigating that data for comprehensions showed to be a problematic finest left to talented data professional, leaving data analysts in the shady. Two Facebook data experts shaped Apache \u201cHive\u201d in 2008. Based on the detail that SQL is a comprehensively used and commonly assumed language among data professional, Hive was intended to mechanically interpret SQL-like explorations into MapReduce jobs on Hadoop\u2014to create a language called HiveQL.<br \/>\nHive is intended to allow easy data summarization, ad-hoc enquiring and examination of large capacities of data. It delivers SQL which lets users to do ad-hoc querying, design, summarization and data analysis effortlessly. Hive&#8217;s SQL gives users multiple seats to mix their own functionality to do custom inspection, such as User Defined Functions (UDFs).<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-medium wp-image-7530 aligncenter\" src=\"https:\/\/nub8.net\/wp-content\/uploads\/2019\/09\/Apache_Hive_logo.svg-min-300x270.png\" alt=\"\" width=\"300\" height=\"270\" \/><\/p>\n<h2><strong>Types of tables<\/strong><\/h2>\n<p>Hive has two types of tables:<\/p>\n<h2><strong>Managed table<\/strong><\/h2>\n<p>Managed table is also called as Internal table. This is the default table in Hive. When we create a table in Hive without specifying it as external, by default we will get a Managed table.<\/p>\n<h2><strong>EXTERNAL TABLE<\/strong><\/h2>\n<p>External table is created for external use as when the data is used outside Hive. Whenever we want to delete the table\u2019s meta data and we want to keep the table\u2019s data as it is, we use External table. External table only deletes the schema of the table.<\/p>\n<h2><strong>Components of Hive<\/strong><\/h2>\n<h2><strong>\u2022 User Interface (UI)<\/strong><\/h2>\n<p>It bring user interface to have an interface between user and hive. It lets user to submit queries to the system. Hive web UI, Hive command line, and Hive HD Insight are reinforced.<\/p>\n<h2><strong>\u2022 Driver<\/strong><\/h2>\n<p>Queries of the user after the interface are established by the driver within the Hive. Concept of session grips is applied by driver. Execution and fetching of APIs established on JDBC\/ODBC interfaces is delivered by the user.<\/p>\n<h2><strong>\u2022 Compiler<\/strong><\/h2>\n<p>Queries are parses, semantic inspection on the diverse query blocks and query expression is complete by the compiler. Execution plan with the assistance of the table in the database and partition metadata observed from the metastore are made by the compiler ultimately.<\/p>\n<h2><strong>\u2022 Metastore<\/strong><\/h2>\n<p>All the organized data or info of the dissimilar tables and partition in the warehouse covering attributes and attributes level information are kept in the metastore.<\/p>\n<h2><strong>\u2022 Execution Engine <\/strong><\/h2>\n<p>Execution of the execution plan completed by the compiler is done in the execution engine. The plan is a DAG of stages.<\/p>\n<p><a href=\"https:\/\/nub8.net\/wp-content\/uploads\/2019\/09\/hive.apache.org\"> Official web site<\/a><\/p>\n<p><a href=\"https:\/\/www.nub8.net\/es\/apache-hadoop\/\"> About Apache Hadoop<\/a><\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Hadoop was a real solution for companies, observing to store and manage huge volumes of data. Though, investigating that data for comprehensions showed to be a problematic finest left to talented data professional, leaving data analysts in the shady. Two Facebook data experts shaped Apache \u201cHive\u201d in 2008. Based on the detail that SQL is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7530,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,31],"tags":[],"class_list":["post-2198","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","category-big-data"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/posts\/2198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/comments?post=2198"}],"version-history":[{"count":1,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/posts\/2198\/revisions"}],"predecessor-version":[{"id":11909,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/posts\/2198\/revisions\/11909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nub8.net\/es\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/media?parent=2198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/categories?post=2198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nub8.net\/es\/wp-json\/wp\/v2\/tags?post=2198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}