Starting HiveServer1 and the Hive Console
Warning:
Because of concurrency and security issues, HiveServer1 and the Hive CLI is 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 July 8, 2016.
<< Starting, Stopping, and Using HiveServer2 | ©2016 Cloudera, Inc. All rights reserved | Using Hive with HBase >> |
Terms and Conditions Privacy Policy |