You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Garry Chen <gc...@cornell.edu> on 2015/03/18 17:44:11 UTC

How to mute zookeeper debug message in hbase shell

Hi All,
                I am new to hbase and using Amazon EMR with hbase hbase-0.94.18 install.  Always getting "hbase(main):002:0> 15:59:13.023 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x14c2d99c8f20008 after 0ms" nn hbase shell.  Need help on how to muting the message.  Thank you very much for your help.



Garry

Re: How to mute zookeeper debug message in hbase shell

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Can you please share your log4j.properties file? Just cut&past the content
here...

2015-03-18 13:21 GMT-04:00 Garry Chen <gc...@cornell.edu>:

> Hi JM,
>         Thank you very much for your information.  After follow your
> instruction and a reboot.  I am still getting that message.
>
> Garry
>
> hbase(main):004:0> create 'blogposts', 'post', 'image'
> 17:15:38.528 [main] INFO  org.apache.zookeeper.ZooKeeper - Initiating
> client connection, connectString=ip-172-31-12-99.ec2.internal:2181
> sessionTimeout=180000
> watcher=catalogtracker-on-org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@19862c5b
> 17:15:38.529 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] INFO
> org.apache.zookeeper.ClientCnxn - Opening socket connection to server
> ip-172-31-12-99.ec2.internal/172.31.12.99:2181. Will not attempt to
> authenticate using SASL (unknown error)
> 17:15:38.530 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] INFO
> org.apache.zookeeper.ClientCnxn - Socket connection established to
> ip-172-31-12-99.ec2.internal/172.31.12.99:2181, initiating session
> 17:15:38.530 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Session establishment request sent on
> ip-172-31-12-99.ec2.internal/172.31.12.99:2181
> 17:15:38.532 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] INFO
> org.apache.zookeeper.ClientCnxn - Session establishment complete on server
> ip-172-31-12-99.ec2.internal/172.31.12.99:2181, sessionid =
> 0x14c2dd9f45c0010, negotiated timeout = 180000
> 17:15:38.533 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x14c2dd9f45c0010, packet:: clientPath:null serverPath:null
> finished:false header:: 1,3  replyHeader:: 1,3602,0  request::
> '/hbase/root-region-server,T  response::
> s{3092,3092,1426692412266,1426692412266,0,0,0,0,83,0,3092}
> 17:15:38.535 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x14c2dd9f45c0010, packet:: clientPath:null serverPath:null
> finished:false header:: 2,4  replyHeader:: 2,3602,0  request::
> '/hbase/root-region-server,T  response::
> #ffffffff0001f3938344069702d3137322d33312d352d38342e6563322e696e7465726e616c69702d3137322d33312d352d38342e6563322e696e7465726e616c2c36303032302c31343236363932343033303338,s{3092,3092,1426692412266,1426692412266,0,0,0,0,83,0,3092}
> 17:15:38.536 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x14c2dd9f45c0010, packet:: clientPath:null serverPath:null
> finished:false header:: 3,3  replyHeader:: 3,3602,-101  request::
> '/hbase/unassigned/1028785192,T  response::
> 17:15:38.541 [main] DEBUG org.apache.zookeeper.ZooKeeper - Closing
> session: 0x14c2dd9f45c0010
> 17:15:38.541 [main] DEBUG org.apache.zookeeper.ClientCnxn - Closing client
> for session: 0x14c2dd9f45c0010
> 17:15:38.542 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x14c2dd9f45c0010, packet:: clientPath:null serverPath:null
> finished:false header:: 4,-11  replyHeader:: 4,3603,0  request:: null
> response:: null
> 17:15:38.543 [main] DEBUG org.apache.zookeeper.ClientCnxn - Disconnecting
> client for session: 0x14c2dd9f45c0010
> 17:15:38.543 [main] INFO  org.apache.zookeeper.ZooKeeper - Session:
> 0x14c2dd9f45c0010 closed
> 17:15:38.543 [main-EventThread] INFO  org.apache.zookeeper.ClientCnxn -
> EventThread shut down
> 17:15:38.544 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x14c2dd9f45c0009, packet:: clientPath:null serverPath:null
> finished:false header:: 14,4  replyHeader:: 14,3603,0  request::
> '/hbase/table/blogposts,F  response::
> #ffffffff00021333638314069702d3137322d33312d31322d39392e6563322e696e7465726e616c454e41424c4544,s{3588,3596,1426698937506,1426698937726,2,0,0,0,45,0,3588}
> 0 row(s) in 1.0570 seconds
>
> hbase(main):005:0> 17:16:38.602
> [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x14c2dd9f45c0009 after 0ms
> 17:17:38.660 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x14c2dd9f45c0009 after 0ms
> 17:18:38.714 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x14c2dd9f45c0009 after 0ms
> 17:19:38.773 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x14c2dd9f45c0009 after 0ms
>
> -----Original Message-----
> From: Jean-Marc Spaggiari [mailto:jean-marc@spaggiari.org]
> Sent: Wednesday, March 18, 2015 12:49 PM
> To: user
> Subject: Re: How to mute zookeeper debug message in hbase shell
>
> Change the loglevel for org.apache.zookeeper to WARN in the
> log4j.properties file. (Or from the HBase master web UI)
>
> JM
>
> 2015-03-18 12:44 GMT-04:00 Garry Chen <gc...@cornell.edu>:
>
> > Hi All,
> >                 I am new to hbase and using Amazon EMR with hbase
> > hbase-0.94.18 install.  Always getting "hbase(main):002:0>
> > 15:59:13.023 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> > 0x14c2d99c8f20008 after 0ms" nn hbase shell.  Need help on how to
> > muting the message.  Thank you very much for your help.
> >
> >
> >
> > Garry
> >
>

Re: How to mute zookeeper debug message in hbase shell

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Change the loglevel for org.apache.zookeeper to WARN in the
log4j.properties file. (Or from the HBase master web UI)

JM

2015-03-18 12:44 GMT-04:00 Garry Chen <gc...@cornell.edu>:

> Hi All,
>                 I am new to hbase and using Amazon EMR with hbase
> hbase-0.94.18 install.  Always getting "hbase(main):002:0> 15:59:13.023
> [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG
> org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x14c2d99c8f20008 after 0ms" nn hbase shell.  Need help on how to muting
> the message.  Thank you very much for your help.
>
>
>
> Garry
>