Simple CLI client for HMS Metastore.
None of these tools work in kerberos-enabled cluster.
You should consider using Java-based toolkit if you need support for Kerberos.
usage: hclient [-h] [-H HOST] [-d DB] [-t TABLE] [-C COLUMN] [-P PARTITION]
[-u USER] [-c COMMENT] [-L {info,debug,warning,error}]
[--force] [-v]
{add,listdb,list,create,drop,rm}
Hive Metastore client
positional arguments:
{add,listdb,list,create,drop,rm}
HMS action
optional arguments:
-h, --help show this help message and exit
-H HOST, --host HOST HMS server address
-d DB, --db DB database name
-t TABLE, --table TABLE
table name
-C COLUMN, --column COLUMN
column name:type
-P PARTITION, --partition PARTITION
partition name:type
-u USER, --user USER user name
-c COMMENT, --comment COMMENT
comment
-L {info,debug,warning,error}, --loglevel {info,debug,warning,error}
Log level
--force force destructive operation
-v, --verbose show more information
hclient -H host listdb
hclient -H host -d foo listdb
hclient -H host list
hclient -H host -t foo list