hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13892) Scanner with all results filtered out results in NPE
Date Fri, 12 Jun 2015 00:33:00 GMT

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

Josh Elser updated HBASE-13892:
-------------------------------
    Description: 
Saw a failure during some testing with region_mover.rb

{code}
NativeException: java.lang.NullPointerException: null
        __ensure__ at /usr/hdp/current/hbase-master/bin/region_mover.rb:110
  isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:109
  isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:104
     unloadRegions at /usr/hdp/current/hbase-master/bin/region_mover.rb:328
{code

To try to get a real stacktrace, I wrote a simple test. Turns out, it was really simple to
just produce the NPE within ClientScanner.

{code}
java.lang.NullPointerException: null
	at org.apache.hadoop.hbase.client.ClientScanner.getResultsToAddToCache(ClientScanner.java:576)
	at org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:492)
	at org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
{code}

Patch with fix and test incoming.

  was:
Saw a failure during some testing with region_mover.rb

{code}
NativeException: java.lang.NullPointerException: null
        __ensure__ at /usr/hdp/current/hbase-master/bin/region_mover.rb:110
  isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:109
  isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:104
     unloadRegions at /usr/hdp/current/hbase-master/bin/region_mover.rb:328
{code}

To try to get a real stacktrace, I wrote a simple test. Turns out, it was really simple to
just produce the NPE within ClientScanner.

Patch with fix and test incoming.


> Scanner with all results filtered out results in NPE
> ----------------------------------------------------
>
>                 Key: HBASE-13892
>                 URL: https://issues.apache.org/jira/browse/HBASE-13892
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.1.0
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.2.0, 1.1.1
>
>
> Saw a failure during some testing with region_mover.rb
> {code}
> NativeException: java.lang.NullPointerException: null
>         __ensure__ at /usr/hdp/current/hbase-master/bin/region_mover.rb:110
>   isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:109
>   isSuccessfulScan at /usr/hdp/current/hbase-master/bin/region_mover.rb:104
>      unloadRegions at /usr/hdp/current/hbase-master/bin/region_mover.rb:328
> {code
> To try to get a real stacktrace, I wrote a simple test. Turns out, it was really simple
to just produce the NPE within ClientScanner.
> {code}
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.hbase.client.ClientScanner.getResultsToAddToCache(ClientScanner.java:576)
> 	at org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:492)
> 	at org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
> {code}
> Patch with fix and test incoming.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message