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

EC: Native XOR decoder should reset the output buffer before using it.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2
    • Component/s: ec, hdfs
    • Labels:
      None

      Description

      jni_xor_decoder#xxxxxxx_decodeImpl() ** should reset the outputs[0] before using it. Sometime file decode give wrong data because of this. Please refer the XORRawDecoder#doDecode() for the java  implementation of XOR decoder.

        Attachments

        1. HDFS-14175-01.patch
          0.9 kB
          Ayush Saxena
        2. HDFS-14175-02.patch
          0.9 kB
          Ayush Saxena
        3. HDFS-14175-03.patch
          0.9 kB
          Ayush Saxena

          Activity

            People

            • Assignee:
              ayushtkn Ayush Saxena
              Reporter:
              surendrasingh Surendra Singh Lilhore
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: