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

TestScannerWithBulkload should pass Table with unmanaged connection to LoadIncrementalHFiles#doBulkLoad()

    XMLWordPrintableJSON

Details

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

    Description

      In branch-1, the following test failure can be reproduced:

      testBulkLoadNativeHFile(org.apache.hadoop.hbase.regionserver.TestScannerWithBulkload)  Time elapsed: 0.944 sec  <<< ERROR!
      java.io.IOException: The connection has to be unmanaged.
              at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getAdmin(ConnectionManager.java:715)
              at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad(LoadIncrementalHFiles.java:240)
              at org.apache.hadoop.hbase.regionserver.TestScannerWithBulkload.testBulkLoadNativeHFile(TestScannerWithBulkload.java:253)
      

      TestScannerWithBulkload#init() creates table with managed connection, leading to the above failure.

      Attachments

        1. 12876-v2.txt
          1 kB
          Ted Yu
        2. 12876-v1.txt
          1 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: