Arpit Agarwal created HDFS-4673: ----------------------------------- Summary: Renaming file in subdirectory of a snapshotted directory does not work. Key: HDFS-4673 URL: https://issues.apache.org/jira/browse/HDFS-4673 Project: Hadoop HDFS Issue Type: Sub-task Components: namenode Affects Versions: Snapshot (HDFS-2802) Reporter: Arpit Agarwal Assignee: Arpit Agarwal Fix For: Snapshot (HDFS-2802)
Steps to repro: # mkdir /1 # Allow snapshot on /1 # mkdir /1/2 # Put file /1/2/f1 # Take snapshot snap1 of /1 # Rename /1/2/f1 to /1/2/f2 Fails with exception in INodeDirectory.replaceSelf {code} Preconditions.checkArgument(parent != null, "parent is null, this=%s", this); {code} -- 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