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

Snapshot tests broken after merge from trunk

    XMLWordPrintableJSON

Details

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

    Description

      Snapshot tests are broken after the recent merge from trunk. The likely cause of regression is the change to INodeDirectory.clearChildren which resets the children list while replacing an INodeDirectory with INodeDirectorySnapshottable. Testing a fix.

        public void clearChildren() {
          if (children != null) {
            this.children.clear();
            this.children = null;
          }
        }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: