From 5712c9f96a2cf4ff63d36906ab3876444c0cddec Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Thu, 22 Jan 2015 12:25:05 +0900 Subject: [PATCH] YARN-3078. LogCLIHelpers lacks of a blank space before string 'does not exist'. Contributed by Sam Liu. --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../org/apache/hadoop/yarn/logaggregation/LogCLIHelpers.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index cab71a3f777..bdc31db4d1b 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -397,6 +397,9 @@ Release 2.7.0 - UNRELEASED YARN-2731. Fixed RegisterApplicationMasterResponsePBImpl to properly invoke maybeInitBuilder. (Carlo Curino via wangda) + YARN-3078. LogCLIHelpers lacks of a blank space before string 'does not exist'. + (Sam Liu via ozawa) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/LogCLIHelpers.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/LogCLIHelpers.java index 1546ece9b99..df9bd3293d4 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/LogCLIHelpers.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/LogCLIHelpers.java @@ -212,11 +212,11 @@ public class LogCLIHelpers implements Configurable { } private static void logDirNotExist(String remoteAppLogDir) { - System.out.println(remoteAppLogDir + "does not exist."); + System.out.println(remoteAppLogDir + " does not exist."); System.out.println("Log aggregation has not completed or is not enabled."); } private static void emptyLogDir(String remoteAppLogDir) { - System.out.println(remoteAppLogDir + "does not have any log files."); + System.out.println(remoteAppLogDir + " does not have any log files."); } }