Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42814178D2 for ; Fri, 12 Jun 2015 00:59:01 +0000 (UTC) Received: (qmail 8282 invoked by uid 500); 12 Jun 2015 00:59:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 8234 invoked by uid 500); 12 Jun 2015 00:59:01 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 8223 invoked by uid 99); 12 Jun 2015 00:59:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 00:59:01 +0000 Date: Fri, 12 Jun 2015 00:59:00 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13892) Scanner with all results filtered out results in NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582756#comment-14582756 ] Enis Soztutar commented on HBASE-13892: --------------------------------------- I'm assuming only 1.1+ is affected? > 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 > > Attachments: HBASE-13892.patch > > > 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)