Installation from Tarball
HCatalog Installed with Hive
Version
HCatalog is installed with Hive, starting with Hive release 0.11.0.
Hcatalog command line
If you install Hive from the binary tarball, the hcat
command is available in the hcatalog/bin
directory.
Hcat command line is similar to 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, such as 'show tables'. Most 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. The HCatalog CLI is documented here and the Hive CLI is documented here.
Hive installation is documented here.
hcatalog client jars
In the hive tar.gz, hcatalog libraries are available under hcatalog/share/hcatalog/
Hcatalog server
Hcatalog server is same as hive metastore. You can just follow the hive metastore documentation for setting it up. However, if you would like to use the hcatalog scripts for running hive metastore, you can use the following instructions.
Previous: Using HCatalog
Next: Load and Store Interfaces
Hive installation: Installing Hive
Hive configuration: Configuring Hive, Hive Configuration Properties
WebHCat installation and configuration: WebHCat Installation, WebHCat Configuration
General: HCatalog Manual – WebHCat Manual – Hive Wiki Home – Hive Project Site
Old version of this document (HCatalog 0.5.0): Installation from Tarball