Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4673

Renaming file in subdirectory of a snapshotted directory does not work.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Snapshot (HDFS-2802)
    • Snapshot (HDFS-2802)
    • namenode
    • None

    Description

      Steps to repro:

      1. mkdir /1
      2. Allow snapshot on /1
      3. mkdir /1/2
      4. Put file /1/2/f1
      5. Take snapshot snap1 of /1
      6. Rename /1/2/f1 to /1/2/f2

      Fails with exception in INodeDirectory.replaceSelf

            Preconditions.checkArgument(parent != null, "parent is null, this=%s", this);
      

      Attachments

        1. HDFS-4673.2.patch
          12 kB
          Arpit Agarwal
        2. HDFS-4673.patch
          11 kB
          Arpit Agarwal

        Issue Links

          Activity

            People

              arp Arpit Agarwal
              arp Arpit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: