Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8031 Follow-on work for erasure coding phase I (striping layout)
  3. HDFS-11121

Add assertions to BlockInfo#addStorage to protect from breaking reportedBlock-blockGroup mapping

    XMLWordPrintableJSON

Details

    Description

      There are not any assertions in BlockInfo.addStorage. This may cause that BlockInfo instances accept strange block reports and result in serious bugs, like HDFS-10858.

      Attachments

        1. HDFS-11121.1.patch
          6 kB
          Takanobu Asanuma
        2. HDFS-11121.2.patch
          6 kB
          Takanobu Asanuma
        3. HDFS-11121.3.patch
          7 kB
          Takanobu Asanuma

        Activity

          People

            tasanuma Takanobu Asanuma
            tasanuma Takanobu Asanuma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: