Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8466

Refactor BlockInfoContiguous and fix NPE in TestBlockInfo#testCopyConstructor()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7285
    • HDFS-7285
    • None
    • None
    • Reviewed

    Description

      HDFS-7716 refactored BlockInfoContiguous.java
      Since then TestBlockInfo#testCopyConstructor(..) fails with NPE.

      Along with fixing test failure, some of the code can be refactored to re-use code from BlockInfo.java

      Attachments

        1. HDFS-8466-HDFS-7285-01.patch
          3 kB
          Vinayakumar B

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: