From 884ad3ac887c8f736d43977ae6e86d67c1543177 Mon Sep 17 00:00:00 2001 From: Sebastian Baunsgaard Date: Mon, 21 Aug 2023 14:39:16 +0200 Subject: [PATCH] [SYSTEMDS-3614] Log that Hadoop Binaries are missing Unfortunately I changed the logging to ignore all spark and hadoop output the consequence was me not noticing that Hadoop binaries could be missing. This commit fixes the issue by reenabling the hadoop logging of failed Binary loading. --- conf/log4j.properties | 1 + src/test/resources/log4j.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/log4j.properties b/conf/log4j.properties index befcdaf1591..9a381e00aab 100644 --- a/conf/log4j.properties +++ b/conf/log4j.properties @@ -25,6 +25,7 @@ log4j.logger.org.apache.sysds=ERROR log4j.logger.org.apache.sysds.utils.SettingsChecker=WARN log4j.logger.org.apache.spark=ERROR log4j.logger.org.apache.hadoop=OFF +log4j.logger.org.apache.hadoop.util.NativeCodeLoader=INFO log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.target=System.err diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties index 92976c52191..ed955f4a595 100644 --- a/src/test/resources/log4j.properties +++ b/src/test/resources/log4j.properties @@ -33,6 +33,7 @@ log4j.logger.org.apache.sysds=ERROR log4j.logger.org.apache.sysds.parser.DataExpression=ERROR log4j.logger.org.apache.spark=OFF log4j.logger.org.apache.hadoop=OFF +log4j.logger.org.apache.hadoop.util.NativeCodeLoader=INFO log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.target=System.err