HI Erik: Thanks for your response. I set up hbase.rootdir to a directory in a hadoop file system in hbase-site.xml, and setup an environmental variable HBASE_HOME to the base dir of my installation.
In my case, "hbase shell" works fine, and I can create table, insert/scan rows in tables. However, my java app failed with this "null pointer " message. Do I need specify a environmental variable somewhere to let my app know where to find the conf file? Thanks. tp On Mon, Aug 31, 2009 at 5:04 PM, Erik Holstad <[email protected]> wrote: > Hi Charles! > Looking at the stack trace and going to > > org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:89), > it seems like > the conf file you are using does not set the hbase.rootdir as described in > http://hadoop.apache.org/hbase/docs/current/api/index.html, can that be > the > case? > > Regards Erik > -- tp
