hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10517) NPE in MetaCache.clearCache()
Date Sat, 28 Jun 2014 02:08:28 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046652#comment-14046652
] 

Enis Soztutar commented on HBASE-10517:
---------------------------------------

Committed to master as part of hbase-10070 branch merge

> 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, hbase-10070
>
>         Attachments: 0004-HBASE-10517-NPE-in-MetaCache.clearCache.patch, hbase-10517_v1.patch
>
>
> MetaCache introduced in HBASE-10347 is vulnerable to NPE. TestDistributedLogSplitting
is flaky due to this. 
> {code}
>    <error type="java.lang.NullPointerException">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.2#6252)

Mime
View raw message