...
To start your server, HCatalog needs to know where Hive is installed. This is communicated by setting the environment variable HIVE_HOME
to the location you installed Hive. Start the HCatalog server by switching directories to root and invoking "HIVE_HOME=
hive_home sbin/hcat_server.sh start
". (In a Hive 0.11+ installation, this is "HIVE_HOME=
hive_home hcatalog/sbin/hcat_server.sh start
".)
Logging
Server activity logs are located in root/var/log/hcat_server
. Logging configuration is located at root/conf/log4j.properties
. Server logging uses DailyRollingFileAppender
by default. It will generate a new file per day and does not expire old log files automatically.
...
To stop the HCatalog server, change directories to the root directory and invoke "HIVE_HOME=
hive_home sbin/hcat_server.sh stop
". (In a Hive 0.11+ installation, this is "HIVE_HOME=
hive_home hcatalog/sbin/hcat_server.sh stop
".)
Client Installation
Select a root directory for your installation of HCatalog client. We recommend /usr/local/hcat
. If necessary, create the directory.
...
The HCatalog command line interface (CLI) can now be invoked as "HIVE_HOME=
hive_home root/bin/hcat
". (In a Hive 0.11+ installation, this is "HIVE_HOME=
hive_home root/hcatalog/bin/hcat
".)
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: Using HCatalog Hive installation: Installing Hive General: HCatalog Manual – WebHCat Manual – Hive Wiki Home – Hive Project Site |