hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8871) FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted
Date Tue, 02 Oct 2012 17:21:07 GMT

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

Chris Nauroth updated HADOOP-8871:
----------------------------------

    Attachment: HADOOP-8871-branch-1-win.patch
    
> 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

Mime
View raw message