These are all normal logs for ReadOnlyZkClient, but the problem is we
should not output these logs when running hbase shell.

I'm not a ruby expert but we have this in the entry point of hbase
shell(jar-bootstrap.rb)

# Set logging level to avoid verboseness
org.apache.logging.log4j.core.config.Configurator.setAllLevels('org.apache.zookeeper',
log_level)
org.apache.logging.log4j.core.config.Configurator.setAllLevels('org.apache.hadoop',
log_level)

where the log level is

log_level = org.apache.logging.log4j.Level::ERROR

So I'm not sure why you can still see these logs in hbase shell...

LinuxGuy <linux...@gmx.net> 于2023年2月8日周三 10:13写道:
>
> hello,
>
> i am using the latest hbase version (2.5.3)
> it gets the following logs in hbase shell,
>
> hbase:002:0> 2023-02-08 10:09:08,805 INFO
> [ReadOnlyZKClient-127.0.0.1:2181@0x3611153f] zookeeper.ZooKeeper
> (ZooKeeper.java:close(1422)) - Session: 0x100e7dbb2a40007 closed
>
> 2023-02-08 10:09:08,806 INFO
> [ReadOnlyZKClient-127.0.0.1:2181@0x3611153f-EventThread]
> zookeeper.ClientCnxn (ClientCnxn.java:run(524)) - EventThread shut down for
> session: 0x100e7dbb2a40007
>
>
> what does this mean and how to fix it?
>
>
> Thanks

Reply via email to