...
$HIVE_HOME/bin/hive is a shell utility which can be used to run Hive queries in either interactive or batch mode.
Deprecation in favor of Beeline CLI
HiveServer2 (introduced in Hive 0.11) has its own CLI called Beeline, which is a JDBC client based on SQLLine. Due to new development being focused on HiveServer2, HiveCLI is now deprecated in favor of Beeline.
See Beeline – New Command Line Shell in the HiveServer2 documentation.
Hive Command Line Options
To get help, run "hive -H
" or "hive --help
".
Usage (as it is in Hive 0.9.0):
...
Note that Hive configuration parameters can also specify jars, files, and archives. See Configuration Variables for more information.
Beeline CLI for HiveServer2
HiveServer2 (introduced in Hive 0.11) has a new CLI called Beeline, which is a JDBC client based on SQLLine. See Beeline – New Command Line Shell in the HiveServer2 documentation.
HCatalog CLI
Info | ||
---|---|---|
| ||
HCatalog is installed with Hive, starting with Hive release 0.11.0. |
...