Skip to content
/ hclient Public

Stand alone Thrift HMS client and benchmarking tools

License

Notifications You must be signed in to change notification settings

akolb1/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