Starting HiveServer1 and the Hive Console in CDH

To start HiveServer1:
$ sudo service hiveserver start

See also Running HiveServer2 and HiveServer Concurrently.

To start the Hive console:

$ 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;
Time taken: 10.345 seconds