hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bor...@apache.org
Subject svn commit: r945940 - in /hadoop/common/trunk: CHANGES.txt src/java/org/apache/hadoop/fs/FsShell.java
Date Tue, 18 May 2010 22:38:07 GMT
Author: boryas
Date: Tue May 18 22:38:07 2010
New Revision: 945940

URL: http://svn.apache.org/viewvc?rev=945940&view=rev
Log:
HADOOP-6627. 'Bad Connection to FS' message in FSShell should print message from the exception

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=945940&r1=945939&r2=945940&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Tue May 18 22:38:07 2010
@@ -3,6 +3,9 @@ Hadoop Change Log
 Trunk (unreleased changes)
 
   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 
     on users(ddas via boryas)
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java?rev=945940&r1=945939&r2=945940&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java Tue May 18 22:38:07 2010
@@ -1842,7 +1842,8 @@ public class FsShell extends Configured 
                          "... command aborted.");
       return exitCode;
     } 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;
     }
 



Mime
View raw message