You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Manukranth Kolloju (JIRA)" <ji...@apache.org> on 2013/03/13 06:08:16 UTC

[jira] [Updated] (HBASE-8082) Fixing NullPointerException in org.apache.hadoop.hbase.regionserver.HRegion.RegionScanner.nextRows.

     [ https://issues.apache.org/jira/browse/HBASE-8082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manukranth Kolloju updated HBASE-8082:
--------------------------------------

           Component/s: regionserver
           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.  (was: This change is in fb-hbase)
     Affects Version/s: 0.89-fb
    Remaining Estimate: 24h
     Original Estimate: 24h
    
> Fixing NullPointerException in org.apache.hadoop.hbase.regionserver.HRegion.RegionScanner.nextRows.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8082
>                 URL: https://issues.apache.org/jira/browse/HBASE-8082
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.89-fb
>            Reporter: Manukranth Kolloju
>            Priority: Blocker
>             Fix For: 0.89-fb
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira