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 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
Page generated May 18, 2018.
<< Starting, Stopping, and Using HiveServer2 in CDH | ©2016 Cloudera, Inc. All rights reserved | Using Apache Hive with HBase in CDH >> |
Terms and Conditions Privacy Policy |