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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Snapshot (HDFS-2802)
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: