You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jean-Daniel Cryans <jd...@apache.org> on 2009/08/28 16:06:07 UTC

Re: unable to start hbase 0.20. zookeeper server not found.

What's in the Zookeeper log? It's kept with the other HBase logs.

J-D

On Fri, Aug 28, 2009 at 3:59 AM, Andrei Savu<sa...@gmail.com> wrote:
> Hi,
>
> I have downloaded the release candidate from here: http://su.pr/1NHIlM
> and I am unable to make it start standalone. It seems like the
> zookeeper server does not start.
>
> 2009-08-28 10:43:49,872 INFO org.apache.zookeeper.ZooKeeper:
> Initiating client connection, host=localhost:2181 sessionTimeout=60000
> watcher=Thread[Thread-0,5,main]
> 2009-08-28 10:43:49,876 INFO org.apache.zookeeper.ClientCnxn:
> zookeeper.disableAutoWatchReset is false
> 2009-08-28 10:43:49,911 INFO org.apache.zookeeper.ClientCnxn:
> Attempting connection to server localhost/127.0.0.1:2181
> 2009-08-28 10:43:49,926 WARN org.apache.zookeeper.ClientCnxn:
> Exception closing session 0x0 to sun.nio.ch.SelectionKeyImpl@7d2452e8
> java.net.ConnectException: Connection refused
>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
>        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:885)
> 2009-08-28 10:43:49,933 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> exception during shutdown input
>
> The zookeeper server should be installed as a standalone application?
>
> I'm running  bin/start-hbase.sh . On the same machine hbase 0.19.3 works fine.
>
> Sorry if this is a silly question :)
>
> --
> Savu Andrei
>
> Website: http://www.andreisavu.ro/
>

Re: unable to start hbase 0.20. zookeeper server not found.

Posted by Andrei Savu <sa...@gmail.com>.
While trying to write a response I found the solution :)

It seems like the os env is not what I expected it to be when running
a command over ssh.

This tutorial helped me understand why JAVA_HOME is not set and how to fix it.
http://www.netexpertise.eu/en/ssh/environment-variables-and-ssh.html

Thanks for your time.

On Fri, Aug 28, 2009 at 5:06 PM, Jean-Daniel Cryans<jd...@apache.org> wrote:
> What's in the Zookeeper log? It's kept with the other HBase logs.
>
> J-D
>
> On Fri, Aug 28, 2009 at 3:59 AM, Andrei Savu<sa...@gmail.com> wrote:
>> Hi,
>>
>> I have downloaded the release candidate from here: http://su.pr/1NHIlM
>> and I am unable to make it start standalone. It seems like the
>> zookeeper server does not start.
>>
>> 2009-08-28 10:43:49,872 INFO org.apache.zookeeper.ZooKeeper:
>> Initiating client connection, host=localhost:2181 sessionTimeout=60000
>> watcher=Thread[Thread-0,5,main]
>> 2009-08-28 10:43:49,876 INFO org.apache.zookeeper.ClientCnxn:
>> zookeeper.disableAutoWatchReset is false
>> 2009-08-28 10:43:49,911 INFO org.apache.zookeeper.ClientCnxn:
>> Attempting connection to server localhost/127.0.0.1:2181
>> 2009-08-28 10:43:49,926 WARN org.apache.zookeeper.ClientCnxn:
>> Exception closing session 0x0 to sun.nio.ch.SelectionKeyImpl@7d2452e8
>> java.net.ConnectException: Connection refused
>>        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>>        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
>>        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:885)
>> 2009-08-28 10:43:49,933 WARN org.apache.zookeeper.ClientCnxn: Ignoring
>> exception during shutdown input
>>
>> The zookeeper server should be installed as a standalone application?
>>
>> I'm running  bin/start-hbase.sh . On the same machine hbase 0.19.3 works fine.
>>
>> Sorry if this is a silly question :)
>>
>> --
>> Savu Andrei
>>
>> Website: http://www.andreisavu.ro/
>>
>



-- 
Savu Andrei

Website: http://www.andreisavu.ro/