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 9B81C10EC4 for ; Thu, 13 Feb 2014 01:24:23 +0000 (UTC) Received: (qmail 21637 invoked by uid 500); 13 Feb 2014 01:24:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 21544 invoked by uid 500); 13 Feb 2014 01:24:20 -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 21434 invoked by uid 99); 13 Feb 2014 01:24:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 01:24:19 +0000 Date: Thu, 13 Feb 2014 01:24:19 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10517) NPE in MetaCache.clearCache() 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-10517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-10517: ---------------------------------- Attachment: hbase-10517_v1.patch Trivial patch. > NPE in MetaCache.clearCache() > ----------------------------- > > Key: HBASE-10517 > URL: https://issues.apache.org/jira/browse/HBASE-10517 > Project: HBase > Issue Type: Sub-task > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Priority: Trivial > Fix For: 0.99.0 > > Attachments: hbase-10517_v1.patch > > > MetaCache introduced in HBASE-10347 is vulnerable to NPE. TestDistributedLogSplitting is flaky due to this. > {code} > java.lang.NullPointerException > at org.apache.hadoop.hbase.client.MetaCache.clearCache(MetaCache.java:339) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.deleteCachedRegionLocation(ConnectionManager.java:2033) > at org.apache.hadoop.hbase.client.RegionServerCallable.throwable(RegionServerCallable.java:132) > at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:129) > at org.apache.hadoop.hbase.client.HTable.getRowOrBefore(HTable.java:744) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:147) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.prefetchRegionCache(ConnectionManager.java:1071) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1136) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1023) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:978) > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)