[
https://issues.apache.org/jira/browse/HADOOP-9382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711221#comment-14711221
]
Keegan Witt commented on HADOOP-9382:
-------------------------------------
Since Unix disallows replacing a file with a directory, and calling
{{Filesystem.rename()}} directly fails under this circumstance, I'd expect the
shell invocation to fail as well.
> Add dfs mv overwrite option
> ---------------------------
>
> Key: HADOOP-9382
> URL: https://issues.apache.org/jira/browse/HADOOP-9382
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Keegan Witt
> Assignee: Suresh Srinivas
> Priority: Minor
> Labels: BB2015-05-TBR
> Attachments: HADOOP-9382.1.patch, HADOOP-9382.2.patch,
> HADOOP-9382.patch
>
>
> Add a -f option to allow overwriting existing destinations in dfs mv command.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)