ha.. silly mistake, the hbase-site.xml file was using aliases, and I had the alias pointing to a different machine in /etc/hosts on this machine! my bad..
Thanks Doug.. On Wed, Aug 17, 2011 at 7:09 PM, Doug Meil <[email protected]>wrote: > > To be on the safe side, you probably want to double-check this. > > http://hbase.apache.org/book.html#client_dependencies > > > > > On 8/17/11 3:00 AM, "Hari Sreekumar" <[email protected]> wrote: > > >Hi, > > > >I want to separate my application machines from the HBase cluster. So far, > >we have always run the application from one of the machines which is also > >part of the cluster. How can I separate them? I tried specifying the DB > >machines $HADOOP_HOME/conf and $HBASE_HOME/conf folders in the classpath. > >But then, I get this exception: > > > >org.apache.hadoop.hbase.ZooKeeperConnectionException: java.io.IOException: > >Unable to determine ZooKeeper ensemble > > at > >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio > >n.getZooKeeperWatcher(HConnectionManager.java:988) > > at > >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio > >n.setupZookeeperTrackers(HConnectionManager.java:301) > > at > >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio > >n.<init>(HConnectionManager.java:292) > > at > >org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectio > >nManager.java:155) > > at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:167) > > at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:145) > > > >How do I get around this? > > > >Thanks, > >Hari > >
