-
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-28269 Fix broken ruby scripts and clean up logging #5588
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Testing out few more things, please hold. |
In this PR have remove the redundant imports as the scripts run even w/o them. Also removed banned log4j imports. Tested them as follows:
Will fix |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Updated title to include what the PR covers. |
* Added new methods in Log4jUtils.java and InternalLog4jUtils.java * Disabled info/debug logging of existing scripts
6e5fe03
to
f334fb1
Compare
💔 -1 overall
This message was automatically generated. |
Retested the following as follows:
|
hbase-logging/src/main/java/org/apache/hadoop/hbase/logging/InternalLog4jUtils.java
Outdated
Show resolved
Hide resolved
85c9b68
to
ae3ef7c
Compare
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
* Removed redundant imports and replaced unsupported methods with alternates * Removed usage of `org.apache.logging.log4j` and `org.apache.log4j.Logger` from ruby scripts * Added new methods in `Log4jUtils.java` and `InternalLog4jUtils.java` to be used as alternative in scripts * Disabled info/debug logging of existing ruby scripts to clean up noisy output Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 4e8d93d)
* Removed redundant imports and replaced unsupported methods with alternates * Removed usage of `org.apache.logging.log4j` and `org.apache.log4j.Logger` from ruby scripts * Added new methods in `Log4jUtils.java` and `InternalLog4jUtils.java` to be used as alternative in scripts * Disabled info/debug logging of existing ruby scripts to clean up noisy output Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 4e8d93d)
* Removed redundant imports and replaced unsupported methods with alternates * Removed usage of `org.apache.logging.log4j` and `org.apache.log4j.Logger` from ruby scripts * Added new methods in `Log4jUtils.java` and `InternalLog4jUtils.java` to be used as alternative in scripts * Disabled info/debug logging of existing ruby scripts to clean up noisy output Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 4e8d93d)
* Removed redundant imports and replaced unsupported methods with alternates * Removed usage of `org.apache.logging.log4j` and `org.apache.log4j.Logger` from ruby scripts * Added new methods in `Log4jUtils.java` and `InternalLog4jUtils.java` to be used as alternative in scripts * Disabled info/debug logging of existing ruby scripts to clean up noisy output Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 4e8d93d)
Tested above on branch-2.5+ and pushed change. Thanks for the review @Apache9 ! |
* Removed redundant imports and replaced unsupported methods with alternates * Removed usage of `org.apache.logging.log4j` and `org.apache.log4j.Logger` from ruby scripts * Added new methods in `Log4jUtils.java` and `InternalLog4jUtils.java` to be used as alternative in scripts * Disabled info/debug logging of existing ruby scripts to clean up noisy output Signed-off-by: Duo Zhang <zhangduo@apache.org>
org.apache.logging.log4j
andorg.apache.log4j.Logger
from ruby scriptsLog4jUtils.java
andInternalLog4jUtils.java
to be used as alternative in scripts