Starting HiveServer1 and the Hive Console in CDH
Warning:
Because of concurrency and security issues, HiveServer1 and the Hive CLI are deprecated in CDH 5 and will be removed in a future release. Cloudera recommends you migrate to Beeline and HiveServer2 as soon as possible. The Hive CLI is not
needed if you are using Beeline with HiveServer2.
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 |