Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8082

Fixing NullPointerException in org.apache.hadoop.hbase.regionserver.HRegion.RegionScanner.nextRows.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.89-fb
    • 0.89-fb
    • regionserver
    • None
    • Reviewed

    Description

      The problem here was that the scan prefetch thread captured the IOExceptions and stored in the return value when the next() call was made on the RegionScanner. The RegionServer was supposed to check if there was an IOException inside the ScanPrefetch thread and throw that IOException. The result from ScanPrefetch being referenced even when the ScanPrefetch thread experienced an IOException caused a NullPointerException in the RegionServer and thus the original IOException's data was lost.

      Attachments

        Activity

          People

            Unassigned Unassigned
            manukranthk Manukranth Kolloju
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified