HADOOP-6627. 'Bad Connection to FS' message in FSShell should print message from the exception
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
759494f3a1
commit
0b14427e6c
|
@ -3,6 +3,9 @@ Hadoop Change Log
|
||||||
Trunk (unreleased changes)
|
Trunk (unreleased changes)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
HADOOP-6627. "Bad Connection to FS" message in FSShell should print
|
||||||
|
message from the exception (boryas)
|
||||||
|
|
||||||
HADOOP-6769. Add an API in FileSystem to get FileSystem instances based
|
HADOOP-6769. Add an API in FileSystem to get FileSystem instances based
|
||||||
on users(ddas via boryas)
|
on users(ddas via boryas)
|
||||||
|
|
||||||
|
|
|
@ -1842,7 +1842,8 @@ public class FsShell extends Configured implements Tool {
|
||||||
"... command aborted.");
|
"... command aborted.");
|
||||||
return exitCode;
|
return exitCode;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
System.err.println("Bad connection to FS. command aborted.");
|
System.err.println("Bad connection to FS. Command aborted. Exception: " +
|
||||||
|
e.getLocalizedMessage());
|
||||||
return exitCode;
|
return exitCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue