Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6996

SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed directory/file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • snapshots
    • None
    • Reviewed

    Description

      Currently when computing snapshot diff report where a renamed file/directory is involved, we scan the withNameList inside of the corresponding WithCount node to identify the correct rename target. However, the withNameList can be empty due to snapshot deletion operations thus an IndexOutOfBoundsException can be triggered.

      Attachments

        1. HDFS-6996.001.patch
          6 kB
          Jing Zhao
        2. HDFS-6996.000.patch
          6 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: