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 "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2013/04/09 00:28:16 UTC

[jira] [Created] (HDFS-4673) Renaming file in subdirectory of a snapshotted directory does not work.

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