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

Add more unit tests for the undo section of rename

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • Reviewed

    Description

      1. Add more unit tests for the undo section of rename

      2. Fix a bug in FSDirectory#addChild: if a QuotaExceededException is thrown in

      parent.addChild(child, true, iip.getLatestSnapshot(), inodeMap);

      we should change the quota usage back.

      Attachments

        1. HDFS-4809.001.patch
          14 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: