-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-26854 Shell startup logs a bunch of noise #4469
Conversation
Manually verified. Just the native code loader warning from Hadoop, as expected.
|
E.g. typically the native code loader will complain when the shell is launched without libhadoop in java.library.path.
While we are at it, we can trivially silence
|
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like an unfortunate gap in our bans on incorrect APIs.
Thanks for the catch and fix
Thanks, will apply back to branch-2.5. Thanks for the review @busbey |
Thanks for the review @virajjasani |
Upon startup the shell logs a bunch of noise, mainly from zookeeper. Also hide WARN level logging from the Hadoop libraries Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Upon startup the shell logs a bunch of noise, mainly from zookeeper. Also hide WARN level logging from the Hadoop libraries Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Upon startup the shell logs a bunch of noise, mainly from zookeeper. Also hide WARN level logging from the Hadoop libraries Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This reverts commit de9776d.
Upon startup the shell logs a bunch of noise, mainly from zookeeper. Also hide WARN level logging from the Hadoop libraries Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org> (cherry picked from commit 20895c7)
Simple changes to jar-bootstrap.rb are required after switching the logger to Log4J v2.
Refer to https://stackoverflow.com/questions/23434252/programmatically-change-log-level-in-log4j2