[
https://issues.apache.org/jira/browse/HDFS-14925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16958716#comment-16958716
]
Stephen O'Donnell commented on HDFS-14925:
------------------------------------------
To be clear are you talking about a scenario like this:
{code}
/project/folder/test
/other_project/folder
hadoop fs -mv /project/folder/test /other_project/folder/
{code}
Where /project and /other_project are both snapshotable and have snapshots?
Why should this sort of operation be denied?
It seems like this is a scenario which could cause problems or bugs, but it is
something that really should work OK, rather than be denied.
Have you seen this scenario cause problems and if so what problems did it cause?
> rename operation should check nest snapshot
> -------------------------------------------
>
> Key: HDFS-14925
> URL: https://issues.apache.org/jira/browse/HDFS-14925
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Junwang Zhao
> Priority: Major
>
> When we do rename operation, If the src directory or any of its descendant
> is snapshottable and the dst directory or any of its ancestors is
> snapshottable,
> we consider this as nested snapshot, which should be denied.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]