Ted Yu created HBASE-12876:
------------------------------
Summary: TestScannerWithBulkload should pass Table with unmanaged
connection to LoadIncrementalHFiles#doBulkLoad()
Key: HBASE-12876
URL: https://issues.apache.org/jira/browse/HBASE-12876
Project: HBase
Issue Type: Test
Reporter: Ted Yu
Assignee: Ted Yu
In branch-1, the following test failure can be reproduced:
{code}
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)
{code}
TestScannerWithBulkload#init() creates table with managed connection, leading
to the above failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)