Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

CK3200 
Created at Mar 14, 2012 12:27:17 
  1,400   0   0  

Hive defines a simple SQL-like query language, called QL, that enables users familiar with SQL to query the data. At the same time, this language also allows programmers who are familiar with the MapReduce framework to be able to plug in their custom mappers and reducers to perform more sophisticated analysis that may not be supported by the built-in capabilities of the language. QL can also be extended with custom scalar functions (UDF's), aggregations (UDAF's), and table functions (UDTF's).

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

Hive Query Language provides following features

Basic SQL

  • From clause subquery
  • ANSI JOIN (euqi-joini only)
  • Multi-table Insert
  • Multi group-by
  • Sampling
  • Objects traversal

Extensibility

  • Pluggable MapReduce scripts in the language of your choice using TRANSFORM (Syntax changing soon!!)
  • Pluggable User Defined Functions
  • Pluggable User Defined Types
  • Pluggable SerDes to read different konds of Data Formats

 

See below example of Hive query language. Amaging thing is Hiveis compatible with standard SQL.

SELECT pageid, COUNT(DISTINCT userid)
FROM page_view GROUP BY pageid

It is almost the same as the usual RDB SQL. This is really great feature of Hive so programmers having experiences in RDB can implement software easily.

Hive does not mandate read or written data be in the "Hive format"---there is no such thing. Hive works equally well on Thrift, control delimited, or your specialized data formats. Please see File Format and SerDe in the Developer Guide for details.

Hive is not designed for OLTP workloads and does not offer real-time queries or row-level updates. It is best used for batch jobs over large sets of append-only data (like web logs). What Hive values most are scalability (scale out with more machines added dynamically to the Hadoop cluster), extensibility (with MapReduce framework and UDF/UDAF/UDTF), fault-tolerance, and loose-coupling with its input formats.

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

Following is Data Model for Hive.

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

References

https://cwiki.apache.org/confluence/display/Hive/Home

Hive ApacheCon 2008, New Oreleans, LA (Ashish Thusoo, Facebook)



Tags: AWS Amazon Blob Chun Computers & Internet HBase Hadoop Mascot Java NoSQL TRANSFORM TaskTracker UDAF UDF UDTF Share on Facebook Share on X

◀ PREVIOUS
Apache HBase is a storage system, with roots in Hadoop, and uses HDFS for underlying storage.

▶ NEXT
With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung

  Comments 0
SIMILAR POSTS

Apache HBase is a storage system, with roots in Hadoop, and uses HDFS for underlying storage.

(created at Mar 01, 2012)

HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware

(created at Feb 28, 2012)

Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters

(created at Feb 28, 2012)

Apache Hadoop is designed to scale up from single servers to thousands of machines

(created at Feb 28, 2012)

If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in

(created at Jul 25, 2012)

Web Cache function in Network Gateway could cause internet service trouble

(created at Oct 15, 2010)

Samsung Movies and TV Shows User Interface

(created at Aug 13, 2014)

FNC Batch Renames Digital Photos by Date

(created at Aug 21, 2009)

OTHER POSTS IN THE SAME CATEGORY

Microsoft and Qualcomm Collaborate to Bring On-Device AI to Windows Devices

(updated at Dec 07, 2024)

Flash Memory has lifetime, so you have to consider backup just in case

(updated at Nov 01, 2025)

Samsung Movies and TV Shows User Interface

(created at Aug 13, 2014)

The way can see the picture on the received email in outlook

(updated at Apr 27, 2024)

If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in

(created at Jul 25, 2012)

With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung

(updated at Apr 27, 2024)

Apache HBase is a storage system, with roots in Hadoop, and uses HDFS for underlying storage.

(created at Mar 01, 2012)

HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware

(created at Feb 28, 2012)

Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters

(created at Feb 28, 2012)

Apache Hadoop is designed to scale up from single servers to thousands of machines

(created at Feb 28, 2012)

Web Cache function in Network Gateway could cause internet service trouble

(created at Oct 15, 2010)

How to add groups to active resistered user in phpBB ?

(updated at Apr 27, 2024)

The simplest and most reliable application or method for editing digital photo EXIF data

(created at Aug 25, 2009)

FNC Batch Renames Digital Photos by Date

(created at Aug 21, 2009)

Enhancing Online Privacy - Special Tools for Hiding Your IP Address

(updated at Apr 28, 2024)

Anonymous Proxy Servers for hiding IP address

(updated at Apr 27, 2024)

Online Gaming IP Ban Proxy Servers Internet Security Digital Identity

(updated at Apr 27, 2024)

Simple Steps to Mask Your IP Address on Home Networks

(updated at Dec 07, 2024)

Hiding Your IP Address Made Easy: Using HTTP Proxy Servers

(updated at Dec 07, 2024)

Changing Your IP Address: Easy Methods for Privacy Protection

(updated at Apr 27, 2024)

UPDATES

The non drug remedies for sinus infection

(updated at Nov 03, 2025)

Flash Memory has lifetime, so you have to consider backup just in case

(updated at Nov 01, 2025)

What is the treatment for Lyme disease?

(updated at Oct 31, 2025)

How prevalent is Lyme disease?

(updated at Oct 30, 2025)

Does other diseases accompany Lyme disease?

(updated at Oct 30, 2025)

Navigating Employee Performance Evaluations with a Positive Approach

(updated at Oct 30, 2025)

The Example Turning a Negative into a Positive - How to Make Criticism Count?

(updated at Oct 30, 2025)

Improve Productivity Through Better Goal Management To Optimize The Performance Review Process

(updated at Oct 30, 2025)

Evaluate and Encourage Full Participation and Success To Optimize The Performance Review Process

(updated at Oct 30, 2025)

Link Performance Management With Rewards and Recognition To Optimize The Performance Review Process

(updated at Oct 30, 2025)

Unveiling the Culprits: Understanding the Causes of Sinusitis

(updated at Oct 30, 2025)

How does Lyme disease infection occur?

(updated at Oct 30, 2025)

Research in Integrated Insurance Service for Starups

(updated at Oct 30, 2025)

Essential Employee Benefits in the US for a Startup

(created at Oct 30, 2025)

Thoughtful Christmas Gift Ideas for Your 14-Year-Old Boyfriend

(updated at Oct 30, 2025)

Thoughtful Ways to Give Your Boss a Christmas Present Without Appearing to

(updated at Oct 30, 2025)

Does Lyme disease affect mental functioning?

(updated at Sep 06, 2025)

Will my doctor treat me for Lyme disease?

(updated at Sep 06, 2025)

Asus Chromebook (CB3-451) Factory Reset

(updated at Aug 28, 2025)

Sushi for pregnant woman

(updated at Aug 06, 2025)

The Importance of Sleep - Why Kids Who Sleep Well Are Smart, and Why You Need Good Sleep Even as You Get Older

(updated at Aug 06, 2025)

Engineering Job Level Comparison: Microsoft vs Meta vs Google vs Amazon

(created at Mar 28, 2025)

If your offer’s base salary and bonus are lower than what you’re currently earning

(created at Mar 28, 2025)

Things what you need to think when you will be in the layoff meeting

(updated at Feb 23, 2025)

What is LASIK ?

(updated at Dec 21, 2024)

How soon could I expect to notice a change in human growth hormone?

(updated at Dec 21, 2024)

Can growth hormone therapy be taken with other medication?

(updated at Dec 15, 2024)

Who should take Biological Therapy?

(updated at Dec 14, 2024)

Side effects of human growth hormone

(updated at Dec 14, 2024)

Can aging be reversed by human growth hormone?

(updated at Dec 14, 2024)