Run a Hive command
You can run most Hive commands from the command line of a node in your cluster. The hive keyword, which launches Beeline in the background, precedes the Hive command.
Hive 3 and later support only Beeline for running Hive commands from the command
line. In the task below, you start Beeline in the background and enter the
-e
flag followed by a Hive command that lists system variables.
The following components are running:
- HiveServer
- Hive clients
- You have a network connection to Beeline.