Starting the Hive Console
Note: The Hive Console is not needed if you are using BeeLine with HiveServer2.
To start the Hive console:
$ hive hive>
To confirm that Hive is working, issue the show tables; command to list the Hive tables; be sure to use a semi-colon after the command:
hive> show tables; OK Time taken: 10.345 seconds