You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2011/02/03 16:40:29 UTC
[jira] Created: (HDFS-1608) Provide overwrite option
(-overwrite/-f) in put and copyFromLocal command line options
Provide overwrite option (-overwrite/-f) in put and copyFromLocal command line options
--------------------------------------------------------------------------------------
Key: HDFS-1608
URL: https://issues.apache.org/jira/browse/HDFS-1608
Project: Hadoop HDFS
Issue Type: Improvement
Components: hdfs client
Affects Versions: 0.20.2, 0.20.1
Reporter: Uma Maheswara Rao G
Priority: Minor
FileSystem has the API
{code:xml}
public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path[] srcs, Path dst)
{code}
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