当前位置: > Linux集群 > Hadoop >

hive.metastore.HiveMetaStoreClient​

时间:2014-11-04 18:01来源:linux.it.net.cn 作者:it

14/04/07 15:33:21 INFO hive.metastore: Waiting 1 seconds before next connection attempt.
14/04/07 15:33:22 INFO hive.metastore: Trying to connect to metastore with URI thrift://127.0.0.1:9083
14/04/07 15:33:22 WARN hive.metastore: Failed to connect to the MetaStore Server...
org.apache.thrift.transport.TTransportException: java.net.ConnectException: 拒绝连接

Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

hive服务器没有启动,操作如下:

启动Hive

bin/hive --service metastore &
bin/hive --service hiveserver &

然后启动hive

bin/hive

验证Hive是否配置成功

hive>show tables; 

 
(责任编辑:IT)
------分隔线----------------------------