From 355eaaa33d01f06e9efe960b8888fb925e03ffb9 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Thu, 3 Sep 2015 22:48:53 +0900 Subject: [PATCH] HADOOP-10318. Incorrect reference to nodeFile in RumenToSLSConverter error message. Contributed by Wei Yan. --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../java/org/apache/hadoop/yarn/sls/RumenToSLSConverter.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e91529008f..20474be7f3 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1091,6 +1091,9 @@ Release 2.8.0 - UNRELEASED HADOOP-12362. Set hadoop.tmp.dir and hadoop.log.dir in pom. (Charlie Helin via wang) + HADOOP-10318. Incorrect reference to nodeFile in RumenToSLSConverter + error message. (Wei Yan via ozawa) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/RumenToSLSConverter.java b/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/RumenToSLSConverter.java index 63d022b93b..0d0745c413 100644 --- a/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/RumenToSLSConverter.java +++ b/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/RumenToSLSConverter.java @@ -110,7 +110,7 @@ public static void main(String args[]) throws Exception { if (! nodeFile.getParentFile().exists() && ! nodeFile.getParentFile().mkdirs()) { System.err.println("ERROR: Cannot create output directory in path: " - + jsonFile.getParentFile().getAbsoluteFile()); + + nodeFile.getParentFile().getAbsoluteFile()); System.exit(1); }