You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/03/04 05:02:31 UTC

svn commit: r1077313 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java

Author: omalley
Date: Fri Mar  4 04:02:31 2011
New Revision: 1077313

URL: http://svn.apache.org/viewvc?rev=1077313&view=rev
Log:
commit af145ec13ca7b67027568e80e2043c8aa690c911
Author: Boris Shkolnik <bo...@yahoo-inc.com>
Date:   Thu Mar 11 16:58:55 2010 -0800

    HADOOP:6627 from https://issues.apache.org/jira/secure/attachment/12438455/HADOOP-6627-BP20.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    HADOOP-6627. Bad Connection to FS" message in FSShell should print
    +    message from the exception (boryas)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java?rev=1077313&r1=1077312&r2=1077313&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java (original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java Fri Mar  4 04:02:31 2011
@@ -1741,7 +1741,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;
     }