Selaa lähdekoodia

Ammend HADOOP-7843 to bring in-line with trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1204710 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 13 vuotta sitten
vanhempi
commit
70816592b0

+ 3 - 3
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java

@@ -153,10 +153,10 @@ public class RunJar {
     try { 
       workDir = File.createTempFile("hadoop-unjar", "", tmpDir);
     } catch (IOException ioe) {
-      // if user has insufficient perms to write to tmpDir, default  
+      // If user has insufficient perms to write to tmpDir, default  
       // "Permission denied" message doesn't specify a filename. 
-      System.err.println("Error creating temp dir in " + tmpDir + " due to " 
-          + ioe.getMessage());
+      System.err.println("Error creating temp dir in hadoop.tmp.dir "
+                         + tmpDir + " due to " + ioe.getMessage());
       System.exit(-1);
       return;
     }