SlideShare a Scribd company logo
HIVE (APACHE HIVE)
• Hive, and later owned by Apache, is a data storage
originally developed by Facebook system that was
developed with a purpose to analyze organized data.
• Hive in Big Data is a data warehouse and SQL-like
querying tool built on the Hadoop ecosystem.
• Apache Hive is a distributed, fault-tolerant
data warehouse system that enables analytics at a
massive scale.
INTRODUCTION
Cont.
• Apache Hive is a distributed, fault-tolerant data warehouse system that enables
analytics at a massive scale.
• Hive Metastore (HMS) provides a central repository of metadata that can
easily be analyzed to make informed, data driven decisions, and therefore
it is a critical component of many data lake architectures.
• Hive is built on top of Apache Hadoop and supports storage on S3, ADLS,
GS etc. though HDFS. Hive allows users to read, write, and manage petabytes
of data using SQL.
• Apache Hive is a very effective tool when it comes to big data (descriptive
data to be analyzed).
• As data is stored in the Apache Hadoop Distributed File System (HDFS) where
data is processed .
• Apache Hive assists in processing and analyzing, and producing data-
driven patterns and trends.
Apache HIVE Architecture
Cont.
 HiveQL is a SQL-like language
that interacts with the Hive
website in various organizations
and analyzes the
required data in a
structured format.
Hive chiefly consists of three core parts:
Hive Clients: Hive offers a variety of drivers designed for communication with
different applications.
For example,
Hive provides Thrift clients for Thrift-based applications.
Hive Services: Hive services perform client interactions with Hive.
For example,
if a client wants to perform a query, it must talk with Hive
services.
Hive Storage and
Computing:
Hive services such as file system, job client, and meta
store then communicates with Hive storageand stores
things like metadata table information and query
results.
Cont.
• Hive in big data innovation is a milestone that eventually led to data analysis
on a large scale.
• Large organizations need big data to record information collected over time.
• To generate data-driven analysis, organizations collect data and use such
software applications to analyze their data.
• This data, contained in Apache Hive, can be used to read,write,and manage
stored information in an organized way.
• For this, organizations neededlarger equipment and that is probably why the
release of software likeApache Hive was needed.
Need of HIVE
• SQL-like Interface: Hive's familiar SQL-like interface makes it simple for users to
query and analyze big datasets without the need for programming experience.
Scalability: Hive in Big Data can handle massive amounts of data stored in
HDFS and other data stores compatible with Hadoop.
Flexibility: Hive supports various data serialization formats ORC, making it a
versatile tool capable of handling various use cases and data formats.
•Integration: Hive in Big Data interfaces with other Hadoop ecosystem tools
like Pig, Sqoop, and Flume, allowing users to conduct data analysis jobs and
processes.
Characteristics of Hive
External tables:
Hive supports external tables, which allow users to access data stored in other storage systems
such as HBase, Cassandra, andAmazon S3.
Partitioning:
Hive offers partitioning, which allows users to separate huge datasets based on parameters
such as date, location, or user ID. Restricting the quantity of data that must be scanned
improves query performance.
Cont.
Fast : Quickly process enormous amounts of data.
Familiar : Hive is its familiar SQL-like interface.
Scalable: Hive in Big Data can handle massive amount of data stored in
HDFS and other compatible data stores.
Advantages of Hive
• Partition your data to reduce read time within your directory, or else all the
data will get read
• Use appropriate file formats such as the Optimized Row
Columnar (ORC)to increase query performance. ORC reduces the original
data size by up to 75 percent
• Divide table sets into more manageable parts by employing bucketing
• Improve aggregations, filters, scans, and joins by vectorizing your queries.
Perform these functions in batches of 1024 rows at once, rather than one at a
time
• Create a separate index table that functions as a quick reference for the original
table.
Hive Optimization Techniques
• Data Mining
• Log Processing
• Document Indexing
• Customer Facing Business
Intelligence
• Predictive Modelling
• Hypothesis Testing
Applications of Hive
EXAMPLES
 “Airbnb connects people with accommodation and activities worldwide
by 2.9 million registered tourists, who support 800k overnight stays.
Airbnb uses Amazon EMR to run Apache Hive in the S3 data pool. Running
Hive in EMR collections enables Airbnb analysts to create temporary SQL
queries in data stored in the S3 data pool. Spark at three times its
original speed”.
 “Guardian provides 27 million members with the protection they deserve
through insurance and asset management products and services. Guardian
uses Amazon EMR to deploy Apache Hive in the S3 data pool. Apache
Hive is used to process clusters. data once influenced Guardian Direct, a
digital platform that allows consumers to research and purchase both
Guardian products and third-party products in the insurance industry”.
Important Points
• Hive is a Hadoop-based data warehouse and SQL-style querying tool.
• It enables users to execute ad-hoc searches and analyses on big datasets without
learning languages like MapReduce or Pig.
• Hive supports external tables, partitioning, and data serialization formats such as Avro
and Parquet.
• Hive's architecture comprises four major components:
• Hive User Interface, Meta Store, HiveQLProcess Engine, and Execution Engine.
• Hive has several benefits for big data analysis, including ease of use, scalability,
flexibility, integration, and cost-effectiveness.
Thank you :)

More Related Content

PPTX
BDA: Introduction to HIVE, PIG and HBASE
PDF
BIGDATA ppts
PPTX
Unit II Hadoop Ecosystem_Updated.pptx
PPTX
New big data architecture in hadoop.pptx
PPTX
Fundamentals of big data analytics and Hadoop
PPTX
hive.pptx
PPTX
Hive and querying data
PPTX
Big Data Open Source Technologies
BDA: Introduction to HIVE, PIG and HBASE
BIGDATA ppts
Unit II Hadoop Ecosystem_Updated.pptx
New big data architecture in hadoop.pptx
Fundamentals of big data analytics and Hadoop
hive.pptx
Hive and querying data
Big Data Open Source Technologies

Similar to HIVE-NEED, CHARACTERISTICS, OPTIMIZATION (20)

PPTX
Building Big data solutions in Azure
PPTX
PPTX
01-Introduction-to-Hive.pptx
PPTX
An Introduction-to-Hive and its Applications and Implementations.pptx
PPTX
Big data solutions in Azure
PPTX
Big Data & Analytics (CSE6005) L6.pptx
ODP
Apache hive1
PPTX
Presentation ON Hive Big Data NOSQL.pptx
PPTX
Hadoop in a Nutshell
PDF
Big data talking stories in Healthcare
PPTX
Foxvalley bigdata
PPTX
Big Data Analytics .pptx
PPTX
Apache Hadoop Hive
PDF
Getting started with big data in Azure HDInsight
PPT
Big data and hadoop
PPTX
Big data analytics with hadoop volume 2
PPTX
Apache Hive
PPTX
Hadoop jon
PPTX
Big data solutions in azure
PPTX
Big Data Analytics Presentation on the resourcefulness of Big data
Building Big data solutions in Azure
01-Introduction-to-Hive.pptx
An Introduction-to-Hive and its Applications and Implementations.pptx
Big data solutions in Azure
Big Data & Analytics (CSE6005) L6.pptx
Apache hive1
Presentation ON Hive Big Data NOSQL.pptx
Hadoop in a Nutshell
Big data talking stories in Healthcare
Foxvalley bigdata
Big Data Analytics .pptx
Apache Hadoop Hive
Getting started with big data in Azure HDInsight
Big data and hadoop
Big data analytics with hadoop volume 2
Apache Hive
Hadoop jon
Big data solutions in azure
Big Data Analytics Presentation on the resourcefulness of Big data
Ad

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Business Ethics Teaching Materials for college
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Institutional Correction lecture only . . .
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Microbial diseases, their pathogenesis and prophylaxis
Business Ethics Teaching Materials for college
O5-L3 Freight Transport Ops (International) V1.pdf
Basic Mud Logging Guide for educational purpose
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Renaissance Architecture: A Journey from Faith to Humanism
102 student loan defaulters named and shamed – Is someone you know on the list?
PPH.pptx obstetrics and gynecology in nursing
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharma ospi slides which help in ospi learning
Institutional Correction lecture only . . .
2.FourierTransform-ShortQuestionswithAnswers.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Ad

HIVE-NEED, CHARACTERISTICS, OPTIMIZATION

  • 2. • Hive, and later owned by Apache, is a data storage originally developed by Facebook system that was developed with a purpose to analyze organized data. • Hive in Big Data is a data warehouse and SQL-like querying tool built on the Hadoop ecosystem. • Apache Hive is a distributed, fault-tolerant data warehouse system that enables analytics at a massive scale. INTRODUCTION
  • 3. Cont. • Apache Hive is a distributed, fault-tolerant data warehouse system that enables analytics at a massive scale. • Hive Metastore (HMS) provides a central repository of metadata that can easily be analyzed to make informed, data driven decisions, and therefore it is a critical component of many data lake architectures. • Hive is built on top of Apache Hadoop and supports storage on S3, ADLS, GS etc. though HDFS. Hive allows users to read, write, and manage petabytes of data using SQL.
  • 4. • Apache Hive is a very effective tool when it comes to big data (descriptive data to be analyzed). • As data is stored in the Apache Hadoop Distributed File System (HDFS) where data is processed . • Apache Hive assists in processing and analyzing, and producing data- driven patterns and trends. Apache HIVE Architecture
  • 5. Cont.  HiveQL is a SQL-like language that interacts with the Hive website in various organizations and analyzes the required data in a structured format.
  • 6. Hive chiefly consists of three core parts: Hive Clients: Hive offers a variety of drivers designed for communication with different applications. For example, Hive provides Thrift clients for Thrift-based applications. Hive Services: Hive services perform client interactions with Hive. For example, if a client wants to perform a query, it must talk with Hive services. Hive Storage and Computing: Hive services such as file system, job client, and meta store then communicates with Hive storageand stores things like metadata table information and query results. Cont.
  • 7. • Hive in big data innovation is a milestone that eventually led to data analysis on a large scale. • Large organizations need big data to record information collected over time. • To generate data-driven analysis, organizations collect data and use such software applications to analyze their data. • This data, contained in Apache Hive, can be used to read,write,and manage stored information in an organized way. • For this, organizations neededlarger equipment and that is probably why the release of software likeApache Hive was needed. Need of HIVE
  • 8. • SQL-like Interface: Hive's familiar SQL-like interface makes it simple for users to query and analyze big datasets without the need for programming experience. Scalability: Hive in Big Data can handle massive amounts of data stored in HDFS and other data stores compatible with Hadoop. Flexibility: Hive supports various data serialization formats ORC, making it a versatile tool capable of handling various use cases and data formats. •Integration: Hive in Big Data interfaces with other Hadoop ecosystem tools like Pig, Sqoop, and Flume, allowing users to conduct data analysis jobs and processes. Characteristics of Hive
  • 9. External tables: Hive supports external tables, which allow users to access data stored in other storage systems such as HBase, Cassandra, andAmazon S3. Partitioning: Hive offers partitioning, which allows users to separate huge datasets based on parameters such as date, location, or user ID. Restricting the quantity of data that must be scanned improves query performance. Cont.
  • 10. Fast : Quickly process enormous amounts of data. Familiar : Hive is its familiar SQL-like interface. Scalable: Hive in Big Data can handle massive amount of data stored in HDFS and other compatible data stores. Advantages of Hive
  • 11. • Partition your data to reduce read time within your directory, or else all the data will get read • Use appropriate file formats such as the Optimized Row Columnar (ORC)to increase query performance. ORC reduces the original data size by up to 75 percent • Divide table sets into more manageable parts by employing bucketing • Improve aggregations, filters, scans, and joins by vectorizing your queries. Perform these functions in batches of 1024 rows at once, rather than one at a time • Create a separate index table that functions as a quick reference for the original table. Hive Optimization Techniques
  • 12. • Data Mining • Log Processing • Document Indexing • Customer Facing Business Intelligence • Predictive Modelling • Hypothesis Testing Applications of Hive
  • 13. EXAMPLES  “Airbnb connects people with accommodation and activities worldwide by 2.9 million registered tourists, who support 800k overnight stays. Airbnb uses Amazon EMR to run Apache Hive in the S3 data pool. Running Hive in EMR collections enables Airbnb analysts to create temporary SQL queries in data stored in the S3 data pool. Spark at three times its original speed”.  “Guardian provides 27 million members with the protection they deserve through insurance and asset management products and services. Guardian uses Amazon EMR to deploy Apache Hive in the S3 data pool. Apache Hive is used to process clusters. data once influenced Guardian Direct, a digital platform that allows consumers to research and purchase both Guardian products and third-party products in the insurance industry”.
  • 14. Important Points • Hive is a Hadoop-based data warehouse and SQL-style querying tool. • It enables users to execute ad-hoc searches and analyses on big datasets without learning languages like MapReduce or Pig. • Hive supports external tables, partitioning, and data serialization formats such as Avro and Parquet. • Hive's architecture comprises four major components: • Hive User Interface, Meta Store, HiveQLProcess Engine, and Execution Engine. • Hive has several benefits for big data analysis, including ease of use, scalability, flexibility, integration, and cost-effectiveness.