...
No Format |
---|
$ export HIVE_HOME=<hive-install-dir> |
Running Hive CLI
To use the Hive command line interface (CLI) from the shell:
No Format |
---|
$ $HIVE_HOME/bin/hive |
Running HiveServer2 and HiveCLI
HiveServer2 (introduced in Hive 0.11) has its own CLI called Beeline. HiveCLI is now deprecated in favor of Beeline, as it lacks the multi-user, security, and other capabilities of HiveServer2. To run HiveServer2 and Beeline from shell:
...