You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/02 19:25:08 UTC

[jira] [Work started] (HADOOP-8871) FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted

     [ https://issues.apache.org/jira/browse/HADOOP-8871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-8871 started by Chris Nauroth.

> FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8871
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8871-branch-1-win.patch
>
>
> When the shell command call to create a symlink fails, we attempt to log the details. We log cmd, which is a String[], and Java prints it using the default Object.toString implementation.  We need to change this to print the contents of the array so that we see the actual command executed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira