Skip to content

hupuxiaojun/hiveutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Utility soft for JDBC connectivity to HIVE

Quick start guide :

  1. Check out a repo :

$git clone https://github.com/hupuxiaojun/hiveutil.git

  1. Compile :

$cd hiveutil $mvn clean install

  1. Run your code

$cd target

If you would like to redirect output to STDOUT :

java -Dhue_user=hdfs -Dhue_password=hdfs -jar hiveutil-1.0-SNAPSHOT-jar-with-dependencies.jar "n1" "show tables"

If you would like to redirect output to a file

java -Dhue_user=hdfs -Dhue_password=hdfs -jar hiveutil-1.0-SNAPSHOT-jar-with-dependencies.jar "n1" "show tables" "/tmp/result.txt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages