From 96e9f8bec922d322c8b203c9d1d9120ae0f646cf Mon Sep 17 00:00:00 2001 From: Varun Saxena Date: Tue, 16 Aug 2016 20:28:02 +0530 Subject: [PATCH] YARN-5475. Fix test failure of TestAggregatedLogFormat#testReadAcontainerLogs1 (Jun Gong via Varun Saxena) --- .../hadoop/yarn/logaggregation/TestAggregatedLogFormat.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/TestAggregatedLogFormat.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/TestAggregatedLogFormat.java index 45dd8abca1f..8cbec1065bf 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/TestAggregatedLogFormat.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/TestAggregatedLogFormat.java @@ -140,7 +140,8 @@ public class TestAggregatedLogFormat { final int ch = filler; UserGroupInformation ugi = UserGroupInformation.getCurrentUser(); - LogWriter logWriter = new LogWriter(conf, remoteAppLogFile, ugi); + LogWriter logWriter = new LogWriter(new Configuration(), remoteAppLogFile, + ugi); LogKey logKey = new LogKey(testContainerId); LogValue logValue =