You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Vincent Fontana <74...@gmail.com> on 2016/12/02 12:16:53 UTC

ClusterId read in ZooKeeper is null

Hello,

I have and error i can't understand and resolve i think it was cause by
this:
client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null

My project was to use nutch crawler with hadoop and hbase.
I have start hbase ,yarn and dfs
I when i start a job like Injector Job for nutch, nothing hapend.

I have this writing on the console.

16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:java.library.path=/opt/hadoop/lib/native
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:os.version=4.4.0-45-generic
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client environment:user.name
=hadoop
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:user.home=/home/hadoop
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/opt/hadoop
16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=localhost:2181 sessionTimeout=90000
watcher=hconnection-0x75cf7815, quorum=localhost:2181, baseZNode=/hbase
16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Opening socket connection to
server localhost/127.0.0.1:2181. Will not attempt to authenticate using
SASL (unknown error)
16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Socket connection established
to localhost/127.0.0.1:2181, initiating session
16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Session establishment complete
on server localhost/127.0.0.1:2181, sessionid = 0x58bf6bd3390001,
negotiated timeout = 90000
16/12/02 13:05:14 INFO client.ZooKeeperRegistry: ClusterId read in
ZooKeeper is null
16/12/02 13:05:14 INFO Configuration.deprecation: hadoop.native.lib is
deprecated. Instead, use io.native.lib.available
16/12/02 13:05:15 INFO zookeeper.RecoverableZooKeeper: Process
identifier=catalogtracker-on-hconnection-0x75cf7815 connecting to ZooKeeper
ensemble=localhost:2181
16/12/02 13:05:15 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=localhost:2181 sessionTimeout=90000
watcher=catalogtracker-on-hconnection-0x75cf7815, quorum=localhost:2181,
baseZNode=/hbase
16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Opening socket connection to
server localhost/127.0.0.1:2181. Will not attempt to authenticate using
SASL (unknown error)
16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Socket connection established
to localhost/127.0.0.1:2181, initiating session
16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Session establishment complete
on server localhost/127.0.0.1:2181, sessionid = 0x58bf6bd3390002,
negotiated timeout = 90000

my hbase-site.xml configuration is:
<configuration>
    <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
    </property>
    <property>
    <name>hbase.rootdir</name>
    <value>hdfs://fontana-04:9000/opt/hbase</value>
    </property>
    <property>
    <name>hbase.security.authentication</name>
    <value>simple</value>
    </property>
    <property>
    <name>hbase.ipc.client.fallback-to-simple-auth-allowed</name>
    <value>true</value>
    </property>
    <property>
        <name>hbase.zookeeper.quorum</name>
    <value>fontana-04,fontana-03</value>
    </property>
    <property>
        <name>hbase.client.keyvalue.maxsize</name>
        <value>0</value>
    </property>
   <property>
        <name>zookeeper.znode.parent</name>
        <value>/hbase</value>
    </property>
</configuration>

Re: ClusterId read in ZooKeeper is null

Posted by Michael Han <ha...@cloudera.com>.
The top of call stack, 'client.ZooKeeperRegistry' in particular is from
HBase code base, so this is unlikely a pure ZK issue. I'd suggest you send
your question to HBase user group.

On Fri, Dec 2, 2016 at 4:16 AM, Vincent Fontana <74...@gmail.com> wrote:

> Hello,
>
> I have and error i can't understand and resolve i think it was cause by
> this:
> client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
>
> My project was to use nutch crawler with hadoop and hbase.
> I have start hbase ,yarn and dfs
> I when i start a job like Injector Job for nutch, nothing hapend.
>
> I have this writing on the console.
>
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:java.library.path=/opt/hadoop/lib/native
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client environment:os.name
> =Linux
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:os.arch=amd64
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:os.version=4.4.0-45-generic
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client environment:user.name
> =hadoop
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:user.home=/home/hadoop
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=/opt/hadoop
> 16/12/02 13:05:14 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=90000
> watcher=hconnection-0x75cf7815, quorum=localhost:2181, baseZNode=/hbase
> 16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Opening socket connection to
> server localhost/127.0.0.1:2181. Will not attempt to authenticate using
> SASL (unknown error)
> 16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Socket connection established
> to localhost/127.0.0.1:2181, initiating session
> 16/12/02 13:05:14 INFO zookeeper.ClientCnxn: Session establishment complete
> on server localhost/127.0.0.1:2181, sessionid = 0x58bf6bd3390001,
> negotiated timeout = 90000
> 16/12/02 13:05:14 INFO client.ZooKeeperRegistry: ClusterId read in
> ZooKeeper is null
> 16/12/02 13:05:14 INFO Configuration.deprecation: hadoop.native.lib is
> deprecated. Instead, use io.native.lib.available
> 16/12/02 13:05:15 INFO zookeeper.RecoverableZooKeeper: Process
> identifier=catalogtracker-on-hconnection-0x75cf7815 connecting to
> ZooKeeper
> ensemble=localhost:2181
> 16/12/02 13:05:15 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=90000
> watcher=catalogtracker-on-hconnection-0x75cf7815, quorum=localhost:2181,
> baseZNode=/hbase
> 16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Opening socket connection to
> server localhost/127.0.0.1:2181. Will not attempt to authenticate using
> SASL (unknown error)
> 16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Socket connection established
> to localhost/127.0.0.1:2181, initiating session
> 16/12/02 13:05:15 INFO zookeeper.ClientCnxn: Session establishment complete
> on server localhost/127.0.0.1:2181, sessionid = 0x58bf6bd3390002,
> negotiated timeout = 90000
>
> my hbase-site.xml configuration is:
> <configuration>
>     <property>
>     <name>hbase.cluster.distributed</name>
>     <value>true</value>
>     </property>
>     <property>
>     <name>hbase.rootdir</name>
>     <value>hdfs://fontana-04:9000/opt/hbase</value>
>     </property>
>     <property>
>     <name>hbase.security.authentication</name>
>     <value>simple</value>
>     </property>
>     <property>
>     <name>hbase.ipc.client.fallback-to-simple-auth-allowed</name>
>     <value>true</value>
>     </property>
>     <property>
>         <name>hbase.zookeeper.quorum</name>
>     <value>fontana-04,fontana-03</value>
>     </property>
>     <property>
>         <name>hbase.client.keyvalue.maxsize</name>
>         <value>0</value>
>     </property>
>    <property>
>         <name>zookeeper.znode.parent</name>
>         <value>/hbase</value>
>     </property>
> </configuration>
>



-- 
Cheers
Michael.