hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077313 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/fs/FsShell.java
Date Fri, 04 Mar 2011 04:02:31 GMT
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 <borya@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;
     }
 



Mime
View raw message