Ok, I found the solution:
HBaseClusterTestCase instantiates a zookeeper cluster, but without using the default zookeeper port (2181). So, when I was trying to instantiate a zookeeper connection, it failed since I was using the default port. To get the right zookeeper port, you have to get it from the HBaseConfiguration object using the property key "hbase.zookeeper.property.clientPort".

--
Renaud Delbru

On 20/10/09 16:10, Renaud Delbru wrote:
Small correction:
In fact,  the error occurs during the second step, not the third one.

Reply via email to