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
This commit is contained in:
parent
c24ffde7aa
commit
70816592b0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue