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

Ted Yu commented on HBASE-12876:
--------------------------------

The test isn't broken on master because HBASE-12835 wasn't applied on master 
branch.

> 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
>             Fix For: 1.1.0
>
>         Attachments: 12876-v1.txt, 12876-v2.txt
>
>
> 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)

Reply via email to