From 316eedb55ff14582b454edc94a2a88f34f0daaac 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. (cherry picked from commit 5712c9f96a2cf4ff63d36906ab3876444c0cddec) --- 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 75dbaf75ec1..bfb4fdd4c7a 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -363,6 +363,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."); } }