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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: snapshots
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: