Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akolb1/hclient
Stand alone Thrift HMS client and benchmarking tools
https://github.com/akolb1/hclient
benchmark-framework benchmarking hive hive-metastore hive-metastore-client microbenchmarks thrift-client
Last synced: 3 months ago
JSON representation
Stand alone Thrift HMS client and benchmarking tools
- Host: GitHub
- URL: https://github.com/akolb1/hclient
- Owner: akolb1
- License: apache-2.0
- Created: 2017-12-15T01:24:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T21:52:51.000Z (about 6 years ago)
- Last Synced: 2024-05-07T18:28:26.808Z (6 months ago)
- Topics: benchmark-framework, benchmarking, hive, hive-metastore, hive-metastore-client, microbenchmarks, thrift-client
- Language: Java
- Size: 288 KB
- Stars: 7
- Watchers: 4
- Forks: 12
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hive - hclient - stand alone Thrift HMS client and benchmarking tools
README
# 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](metastore-cli/README.md)
## Microbenchmarks
metastore-benchmarks provides a set of simple microbenchmarks for Hive Metastore Thrift calls.
See [metastore-benchmarks](metastore-benchmarks/README.md)
## Common libraries
All common code lives in [tools-common](tools-common). The code implements its own simple
metastore client and doesn't use
[HiveMetastoreClient](https://hive.apache.org/javadocs/r2.1.1/api/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.html)
from Hive distribution.
See public [Documentation](https://akolb1.github.io/hclient).## Installation
mvn clean install
You can also create full jars with dependencies by selecting _dist_ profile:mvn clean install -Pdist
## Using in Kerberos environmentUse `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](metastore-benchmarks/src/main/resources/log4j2.xml)