SlideShare a Scribd company logo
2
Most read
3
Most read
14
Most read
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
Introduction to Hadoop
PDF
Machine Learning Project Lifecycle
PDF
Block Chain meets Big Data
PPTX
Hadoop Tutorial For Beginners
PDF
Introduction to Apache Hive
PPTX
Artificial intelligence
PDF
Deep learning - A Visual Introduction
Introduction to Hadoop
Machine Learning Project Lifecycle
Block Chain meets Big Data
Hadoop Tutorial For Beginners
Introduction to Apache Hive
Artificial intelligence
Deep learning - A Visual Introduction

What's hot (20)

PPTX
Design of Hadoop Distributed File System
PPTX
HADOOP TECHNOLOGY ppt
PPTX
Introduction to Big Data & Hadoop Architecture - Module 1
PDF
Introduction to apache spark
PPTX
Breast cancer diagnosis machine learning ppt
PDF
YOGA POSE DETECTION USING MACHINE LEARNING LIBRARIES
PPTX
Plant Disease Prediction using CNN
PPTX
fraud detection
PPTX
Deep learning with tensorflow
PDF
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
PPT
Introduction to hadoop
PDF
Lecture2 big data life cycle
PDF
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
PDF
Introduction to Hadoop
PPTX
Facial emotion detection on babies' emotional face using Deep Learning.
PDF
Computer vision and Open CV
PDF
What Is RDD In Spark? | Edureka
PPTX
Computational Intelligence: concepts and applications using Athena
PPTX
Introduction to Hadoop Technology
PPTX
Big Data Analytics with Hadoop
Design of Hadoop Distributed File System
HADOOP TECHNOLOGY ppt
Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to apache spark
Breast cancer diagnosis machine learning ppt
YOGA POSE DETECTION USING MACHINE LEARNING LIBRARIES
Plant Disease Prediction using CNN
fraud detection
Deep learning with tensorflow
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
Introduction to hadoop
Lecture2 big data life cycle
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Introduction to Hadoop
Facial emotion detection on babies' emotional face using Deep Learning.
Computer vision and Open CV
What Is RDD In Spark? | Edureka
Computational Intelligence: concepts and applications using Athena
Introduction to Hadoop Technology
Big Data Analytics with Hadoop
Ad

Similar to hive architecture and hive components in detail (20)

PPTX
hive.pptx
PPTX
Apache Hive
PPTX
Big Data & Analytics (CSE6005) L6.pptx
PPTX
Hive - A theoretical overview in Detail.pptx
PPTX
Hive and querying data
PPTX
BDA: Introduction to HIVE, PIG and HBASE
PPTX
Hive big-data meetup
PPTX
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
PPT
Hive Training -- Motivations and Real World Use Cases
PPTX
Hive.pptx
PPTX
First Hive Meetup London 2012-07-10 - Tomas Cervenka - VisualDNA
PPTX
Presentation ON Hive Big Data NOSQL.pptx
PPTX
PPTX
Hive_Pig.pptx
ODP
Apache hive1
PPTX
Hive with HDInsight
PPTX
01-Introduction-to-Hive.pptx
PDF
Introduction to Hive and HCatalog
PPTX
Big dataproposal
PPTX
Apache Hadoop Hive
hive.pptx
Apache Hive
Big Data & Analytics (CSE6005) L6.pptx
Hive - A theoretical overview in Detail.pptx
Hive and querying data
BDA: Introduction to HIVE, PIG and HBASE
Hive big-data meetup
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Training -- Motivations and Real World Use Cases
Hive.pptx
First Hive Meetup London 2012-07-10 - Tomas Cervenka - VisualDNA
Presentation ON Hive Big Data NOSQL.pptx
Hive_Pig.pptx
Apache hive1
Hive with HDInsight
01-Introduction-to-Hive.pptx
Introduction to Hive and HCatalog
Big dataproposal
Apache Hadoop Hive
Ad

Recently uploaded (20)

PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharma ospi slides which help in ospi learning
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Types and Its function , kingdom of life
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Classroom Observation Tools for Teachers
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial disease of the cardiovascular and lymphatic systems
Pharma ospi slides which help in ospi learning
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Structure & Organelles in detailed.
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPH.pptx obstetrics and gynecology in nursing
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Types and Its function , kingdom of life
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
VCE English Exam - Section C Student Revision Booklet
Abdominal Access Techniques with Prof. Dr. R K Mishra
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
01-Introduction-to-Information-Management.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers

hive architecture and hive components in detail

  • 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.