Hive Web Interface (component removed as of Hive 2.2.0)
Table of Contents |
---|
What Is the Hive Web Interface
...
The Hive Web Interface, abbreviated as HWI, is a simple graphical user interface (GUI).
Info | ||
---|---|---|
| ||
HWI is only available in Hive releases prior to 2.2.0. It was removed by HIVE-15622. |
WebHCat API
Another web interface that can be used for Hive commands is WebHCat, a REST API (not a GUI). With WebHCat, applications can make HTTP requests to access the Hive metastore (HCatalog DDL) or to create and queue Hive queries and commands, Pig jobs, and MapReduce or YARN jobs (either standard or streaming). WebHCat was formerly named Templeton. See these documents for more information:
...
You should not need to edit the defaults for the Hive Web Interface. HWI uses:
Code Block |
---|
<property> <name>hive.hwi.listen.host</name> <value>0.0.0.0</value> <description>This is the host address the Hive Web Interface will listen on</description> </property> <property> <name>hive.hwi.listen.port</name> <value>9999</value> <description>This is the port the Hive Web Interface will listen on</description> </property> <property> <name>hive.hwi.war.file</name> <value>${HIVE_HOME}/lib/hive_-hwi-<version>.war</value> <description>This is the WAR file with the jsp content for Hive Web Interface</description> </property> |
...
When initializing hive
with no arguments, the CLI is invoked. Hive has an extension architecture used to start other hive
demons.
Jetty requires Apache Ant to start HWI. You should define ANT_LIB as an environment variable or add that to the hive
invocation.
Code Block |
---|
export ANT_LIB=/opt/ant/lib
bin/hive --service hwi
|
Java has no direct way of demonizing. In a production environment you should create a wrapper script.
Code Block |
---|
nohup bin/hive --service hwi > /dev/null 2> /dev/null &
|
If you want help on the service invocation or list of parameters you can add
Code Block |
---|
bin/hive --service hwi --help
|
...