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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/06/06 23:30:59 UTC

[jira] [Moved] (HADOOP-7361) Provide overwrite option (-overwrite/-f) in put and copyFromLocal command line options

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

Todd Lipcon moved HDFS-1608 to HADOOP-7361:
-------------------------------------------

          Component/s:     (was: hdfs client)
                       fs
    Affects Version/s:     (was: 0.20.2)
                           (was: 0.20.1)
                  Key: HADOOP-7361  (was: HDFS-1608)
              Project: Hadoop Common  (was: Hadoop HDFS)

> Provide overwrite option (-overwrite/-f) in put and copyFromLocal command line options
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7361
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7361
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: HDFS-1608-src.patch, HDFS-1608-test.patch
>
>
> FileSystem has the API 
> *public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path[] srcs, Path dst)*
>      
>                          
> This API provides overwrite option. But the mapping command line doesn't have this option. To maintain the consistency and better usage  the command line option also can support the overwrite option like to put the files forcefully. ( put [-f] <srcpath> <dstPath>) and also for copyFromLocal command line option.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira