Преглед на файлове

YARN-3078. LogCLIHelpers lacks of a blank space before string 'does not exist'. Contributed by Sam Liu.

(cherry picked from commit 5712c9f96a2cf4ff63d36906ab3876444c0cddec)
Tsuyoshi Ozawa преди 10 години
родител
ревизия
316eedb55f

+ 3 - 0
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

+ 2 - 2
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.");
   }
 }