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 "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2013/08/02 01:25:48 UTC

[jira] [Commented] (HADOOP-9818) Remove usage of "bash -c" from oah.fs.DF

    [ https://issues.apache.org/jira/browse/HADOOP-9818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727064#comment-13727064 ] 

Kousuke Saruta commented on HADOOP-9818:
----------------------------------------

I've removed "2>/dev/null" from the patch.
No problem?
                
> Remove usage of "bash -c" from oah.fs.DF
> ----------------------------------------
>
>                 Key: HADOOP-9818
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9818
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Andrew Wang
>              Labels: newbie
>         Attachments: HADOOP-9818.patch
>
>
> {{DF}} uses "bash -c" to shell out to the unix {{df}} command. This is potentially unsafe; let's think about removing it.

--
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