You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Saptarshi Guha <sa...@gmail.com> on 2009/08/25 19:31:00 UTC

Regarding the zookeep

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

Re: Regarding the zookeep

Posted by Saptarshi Guha <sa...@gmail.com>.
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<sa...@gmail.com> 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
>