This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push: new d16217b69 ORC-1912: Suppress Hadoop logs lower than ERROR level during testing d16217b69 is described below commit d16217b69673ccf823fb4eb1bd6248b97710f90f Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Mon Jun 9 14:19:44 2025 -0700 ORC-1912: Suppress Hadoop logs lower than ERROR level during testing ### What changes were proposed in this pull request? This PR aims to suppress Hadoop verbose logs which is lower than ERROR level during testing. ### Why are the changes needed? Hadoop INFO/WARN logs are too verbose and there is nothing for us to do during testing. ``` $ mvn package | grep org.apache.hadoop ... [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable ``` ### How was this patch tested? Manually check the log. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #2260 from dongjoon-hyun/ORC-1912. Authored-by: Dongjoon Hyun <dongj...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- java/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/java/pom.xml b/java/pom.xml index a82d344a3..50df3df92 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -721,6 +721,7 @@ <systemPropertyVariables> <test.tmp.dir>${test.tmp.dir}</test.tmp.dir> <example.dir>${example.dir}</example.dir> + <org.slf4j.simpleLogger.log.org.apache.hadoop>error</org.slf4j.simpleLogger.log.org.apache.hadoop> </systemPropertyVariables> </configuration> </plugin>