PLEASE SAVE YOUR WORK! THIS WIKI IS GOING DOWN SHORTLY FOR AN UPGRADE. WILL BE DOWN FOR APPROX 3 HOURS
Installation from Tarball
HCatalog Installed with Hive
HCatalog is installed with Hive, starting with Hive release 0.11.0.
Hive installation is documented here.
HCatalog Command Line
If you install Hive from the binary tarball, the
hcat command is available in the
hcat command line is similar to the
hive command line; the main difference is that it restricts the queries that can be run to metadata-only operations such as DDL and DML queries used to read metadata (for example, "show tables").
hcat commands can be issued as
hive commands except for "
hcat -g" and "
hcat -p". Note that the
hcat command uses the
-p flag for permissions but
hive uses it to specify a port number.
HCatalog Client Jars
In the Hive tar.gz, HCatalog libraries are available under hcatalog/share/hcatalog/.
HCatalog server is the same as Hive metastore. You can just follow the Hive metastore documentation for setting it up.