Skip to content
/ hclient Public
forked from akolb1/hclient

Stand alone Thrift HMS client and benchmarking tools

License

Notifications You must be signed in to change notification settings

txhsj/hclient

 
 

Repository files navigation

Collection of tools talking to Hive Metastore over Thrift

metastore-cli

metastore-cli provides simple Hive metastore client cli interface. It talks directly to HMS without using Beeline.

See metastore-cli

Microbenchmarks

metastore-benchmarks provides a set of simple microbenchmarks for Hive Metastore Thrift calls.

See metastore-benchmarks

Common libraries

All common code lives in tools-common. The code implements its own simple metastore client and doesn't use HiveMetastoreClient from Hive distribution.

See public Documentation.

Installation

mvn clean install

You can also create full jars with dependencies by selecting dist profile:

mvn clean install -Pdist

Using in Kerberos environment

Use kinit to login as user you want to run as:

kinit -kt /path/tokeytab -l 24h

Make sure you run on a host that has correct HMS configuration in /etc/hive/conf.

Changing logging level

To change the logging level you need to modify file log4j2.xml

About

Stand alone Thrift HMS client and benchmarking tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.2%
  • Shell 1.8%