You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2013/09/16 22:40:53 UTC

[jira] [Updated] (HDFS-5139) Remove redundant -R option from setrep

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

Arpit Agarwal updated HDFS-5139:
--------------------------------

    Attachment: HDFS-5139.04.patch

Continue to accept -R for backwards compatibility but have it be the default behavior for directories even if not supplied.
                
> Remove redundant -R option from setrep
> --------------------------------------
>
>                 Key: HDFS-5139
>                 URL: https://issues.apache.org/jira/browse/HDFS-5139
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 3.0.0, 1.3.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-5139.01.patch, HDFS-5139.02.patch, HDFS-5139.03.patch, HDFS-5139.04.patch
>
>
> The -R option to setrep is redundant because it is required for directory targets and ignored for file targets.
> We can just remove the option and make -R the default for directories.

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