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 D3647C254 for ; Tue, 16 Dec 2014 02:00:26 +0000 (UTC) Received: (qmail 38475 invoked by uid 500); 16 Dec 2014 02:00:26 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38432 invoked by uid 500); 16 Dec 2014 02:00:26 -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 38421 invoked by uid 99); 16 Dec 2014 02:00:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 02:00:26 +0000 Date: Tue, 16 Dec 2014 02:00:26 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12696) Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true 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-12696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12696: ----------------------------------- Fix Version/s: (was: 0.98.10) 0.98.9 +1 > Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true > -------------------------------------------------------------------------------------------------------- > > Key: HBASE-12696 > URL: https://issues.apache.org/jira/browse/HBASE-12696 > Project: HBase > Issue Type: Bug > Reporter: Rajeshbabu Chintaguntla > Assignee: Rajeshbabu Chintaguntla > Fix For: 1.0.0, 2.0.0, 0.98.9 > > Attachments: HBASE-12696.patch, HBASE-12696_98.patch, HBASE-12696_branch1.patch > > > When we close the region during split we close all the storefiles readers. At the time of store file reference creation we open the reader to check split row with the store file boundaries. But if skipStoreFileRangeCheck return true then we may not open the reader and it will be null. So getting NPE. > {code} > f.getReader().close(true); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)