From 17f5651a5124c6d00fc990f252de7af5c226a314 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Tue, 18 Sep 2018 16:06:21 -0700 Subject: [PATCH] HDDS-503. Suppress ShellBasedUnixGroupsMapping exception in tests. Contributed by Arpit Agarwal. --- .../integration-test/src/test/resources/log4j.properties | 5 ++++- hadoop-ozone/ozonefs/src/test/resources/log4j.properties | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/integration-test/src/test/resources/log4j.properties b/hadoop-ozone/integration-test/src/test/resources/log4j.properties index cad9dd168c..9ec5a922cb 100644 --- a/hadoop-ozone/integration-test/src/test/resources/log4j.properties +++ b/hadoop-ozone/integration-test/src/test/resources/log4j.properties @@ -15,4 +15,7 @@ log4j.rootLogger=info,stdout log4j.threshold=ALL log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n \ No newline at end of file +log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n + +log4j.logger.org.apache.hadoop.security.ShellBasedUnixGroupsMapping=ERROR +log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR diff --git a/hadoop-ozone/ozonefs/src/test/resources/log4j.properties b/hadoop-ozone/ozonefs/src/test/resources/log4j.properties index 3bf1619d22..a7b5aa93e9 100644 --- a/hadoop-ozone/ozonefs/src/test/resources/log4j.properties +++ b/hadoop-ozone/ozonefs/src/test/resources/log4j.properties @@ -17,6 +17,7 @@ log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n +log4j.logger.org.apache.hadoop.security.ShellBasedUnixGroupsMapping=ERROR log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR # for debugging low level Ozone operations, uncomment this line