Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

NullPointerException with zookeepers getZookeeperClusterKey

0

60 views

Hi,

when connecting to HBase, the following message occurs:

 java.lang.NullPointerException
    at java.lang.StringBuilder.<init>(StringBuilder.java:92)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.getZookeeperClusterKey(ZooKeeperWrapper.java:956)

There seems to be a problem in the configuration. I'm not using an xml-file for configuration, but do this in my code. For the record, this is the configuration part of my code:

usersTable = new HTable(config, "users");
config.set("hbase.zookeeper.quorum", "student-serv002.test");

I'm running this from an OSGi application using Spring DM.

Thanks in advance!

asked March 23, 2011 12:33 pm CDT
posted via StackOverflow

0 Answers

Be the first to answer this question

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview