Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11616

TestNamespaceUpgrade fails in trunk

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      I see the following in test output:

          <error message="Can&apos;t get the location" type="org.apache.hadoop.hbase.client.RetriesExhaustedException">org.apache.hadoop.hbase.client.RetriesExhaustedException: Can&apos;t get the location
        at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:287)
        at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:132)
        at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:1)
        at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:179)
        at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:287)
        at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:267)
        at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:139)
        at org.apache.hadoop.hbase.client.ClientScanner.&lt;init&gt;(ClientScanner.java:134)
        at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:814)
        at org.apache.hadoop.hbase.migration.TestNamespaceUpgrade.setUpBeforeClass(TestNamespaceUpgrade.java:147)
      ...
      Caused by: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in hbase:meta for region hbase:acl,,1376029204842.                          06dfcfc239196403c5f1135b91dedc64. containing row
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1233)
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1099)
        at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:279)
        ... 31 more
      

      The cause for the above error is that the acl table contained in the image (w.r.t. hbase:meta table) doesn't have server address.

      jxiang: What do you think would be proper fix ?

      Attachments

        1. hbase-11616.patch
          0.8 kB
          Jimmy Xiang

        Activity

          People

            jxiang Jimmy Xiang
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: