Okay, can't run Mapreduce in local mode.(mapred.job.tracker='local'). It has to be run in distributed mode. Thans Regards Saptarshi
On Tue, Aug 25, 2009 at 1:31 PM, Saptarshi Guha<[email protected]> wrote: > Hello, > The reason why I was getting frustrated was because of this call: > > HTable tb=new HTable(new HBaseConfiguration(), "Word") > > It works flawlessly when called via JNI. > > When called in a Mapreduce job in the configure partt (of > TableInputFormat) i get > 09/08/25 13:28:50 WARN zookeeper.ZooKeeperWrapper: Failed to create > /hbase -- check quorum servers, currently=spica:2181 > org.apache.zookeeper.KeeperException$ConnectionLossException: > KeeperErrorCode = ConnectionLoss for /hbase > at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) > at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) > at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:522) > > > Any reasons why? > Much thanks > Saptarshi >
