Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Latest commit

 

History

History

hive

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Hive samples

There are three sample applications that use Hive. The examples are

  • A simple /etc/passwd file analysis application using HiveTemplate via the Thrift API.

  • A simple /etc/passwd file analysis application using HiveClient via the Thrift API.

  • A more complex Apache Log file analysis example using HiveRunner

Building and running

This sample is configured to run with Apache Hadoop 2.6.0 stable release.

Use the following commands to build and run the sample

$ mvn clean package
$ sh ./target/appassembler/bin/hiveApp
$ sh ./target/appassembler/bin/hiveClientApp
$ sh ./target/appassembler/bin/hiveAppWithApacheLogs