Connect to HBase in labs.itversity, using Java API

Hi,

Did anyone connect to HBase in labs.itversity.com using Java API. I gave following parameters in the code…
conf.set(“hbase.zookeeper.quorum”, “rm01.itversity.com,nn01.itversity.com,nn02.itversity.com”);
conf.set(“hbase.zookeeper.property.clientPort”, “2181”);

I get the error saying…
Caused by: java.lang.NullPointerException at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.getMetaReplicaNodes(ZooKeeperWatcher.java:395)

I found something like this. Not sure if this correct. Can we fix this ?
root cause:
attempted to contact Zookeeper to get Meta location but could not retrieve required info. This is a known issue described in HBASE-16732

workaround
In this instance of issue, restarting zookeeper fixed the issue as it reinitialized hbase znodes.