Hive/HBase Integration - Zookeeper Session Closes Immediately Hive/HBase Integration - Zookeeper Session Closes Immediately hadoop hadoop

Hive/HBase Integration - Zookeeper Session Closes Immediately


Turns out that the Map/Reduce submitted by Hive is trying to connect to zookeeper at 'localhost', regardless of how the zookeeper.quorom is setup in the config file. I changed /etc/hosts to have to the alias 'localhost' point to the IP of my master node and the connection to zookeeper is maintained. Still looking for a better resolution, but this will work for now.


I figured it out. It was a configuration issue (as I suspected all along). The solution was to:

-set ‘hbase.zookeeper.quorum’ within the ‘hive-site.xml’ and place it in the ‘hadoop-conf’ directory

What threw me off was that there is no 'hbase.zookeeper.quorum' in hive-default.xml. I had been playing with 'hive.zookeeper.quorum' which was not the correct configuration to change.


I'm sorry for posting a new answer. I wanted to comment on the previous answer but the commenting UI seems to have disappeared >.< ...

Anyway, I wanted to say that I am experiencing the same problem, and it is solved by doing the /etc/hosts hack, but that seems like a very dirty solution...

Did anyone figure out a way of fixing this cleanly...??

Thanks :) !