Reply
Explorer
Posts: 11
Registered: ‎02-12-2015

Hive service

hi,

 

i have installed a cluster of 4nodes with CDH 5.3. i started the hive service and there was no problem but when i tried to use a simple hive query it says : can't connect to master:10000

i even used Talend to create hive table but the connection with ThiveConnection failed.

i tried this command: hive --service hiveserver -p 10000 directly in the master and it says :

 

Capture.PNG

 

any help ?

Expert Contributor
Posts: 126
Registered: ‎11-01-2013

Re: Hive service

Please make sure you have hive.metastore.uris property in your hive-site.xml
<property>
<name>hive.metastore.uris</name>
<value>thrift://<n.n.n.n>:9083</value>
<description>IP address (or fully-qualified domain name) and port of the metastore host</description>
</property>
Em Jay