hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1393181 - /hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java
Date Tue, 02 Oct 2012 21:07:09 GMT
Author: suresh
Date: Tue Oct  2 21:07:08 2012
New Revision: 1393181

URL: http://svn.apache.org/viewvc?rev=1393181&view=rev
Log:
HADOOP-8871. FileUtil.symLink command on failure does not correctly print the command attempted.
Contributed by Chris Nauroth.

Modified:
    hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java

Modified: hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java?rev=1393181&r1=1393180&r2=1393181&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java (original)
+++ hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/fs/FileUtil.java Tue Oct
 2 21:07:08 2012
@@ -589,8 +589,8 @@ public class FileUtil {
             + "administrators and all non-administrators from creating symbolic links. "
             + "This behavior can be changed in the Local Security Policy management console");
       } else if (returnVal != 0) {
-        LOG.warn("Command '" + cmd + "' failed " + returnVal + " with: "
-            + ec.getMessage());
+        LOG.warn("Command '" + StringUtils.join(" ", cmd) + "' failed "
+            + returnVal + " with: " + ec.getMessage());
       }
       return returnVal;
     } catch (IOException e) {



Mime
View raw message