Looks like your project is unable to pick zookeeper and zk node details
which are in hbase-site.xml.

quorum=localhost:2181, baseZNode=/hbase

On Thu, Dec 8, 2016 at 2:19 PM, <74f...@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>
>



-- 
*  Regards*
*  Sandeep Nemuri*

Reply via email to