Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, hbase-10070
    • Component/s: None
    • Labels:
      None

      Description

      MetaCache introduced in HBASE-10347 is vulnerable to NPE. TestDistributedLogSplitting is flaky due to this.

         <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)
      

        Attachments

        1. 0004-HBASE-10517-NPE-in-MetaCache.clearCache.patch
          1 kB
          Enis Soztutar
        2. hbase-10517_v1.patch
          0.8 kB
          Enis Soztutar

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: