hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12617) Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster
Date Wed, 03 Dec 2014 20:11:14 GMT

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

Hudson commented on HBASE-12617:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #5862 (See [https://builds.apache.org/job/HBase-TRUNK/5862/])
HBASE-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of
org.apache.hadoop.hbase.MiniHBaseCluster (stack: rev d6b1d8cbf7e11b51523cd0290243bce9cb22eb79)
* hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java


> Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12617
>                 URL: https://issues.apache.org/jira/browse/HBASE-12617
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: 12617.txt
>
>
> Running integration test against cluster I'm getting this on tip of branch-1:
> {code}
> 2014-12-02 15:51:37,193 ERROR [main] util.AbstractHBaseTool: Error running command-line
tool
> java.lang.RuntimeException: org.apache.hadoop.hbase.DistributedHBaseCluster@7103cb56
not an instance of org.apache.hadoop.hbase.MiniHBaseCluster
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getMiniHBaseCluster(HBaseTestingUtility.java:952)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getConnection(HBaseTestingUtility.java:2494)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getHBaseAdmin(HBaseTestingUtility.java:2514)
> 	at org.apache.hadoop.hbase.IntegrationTestingUtility.createDistributedHBaseCluster(IntegrationTestingUtility.java:141)
> 	at org.apache.hadoop.hbase.IntegrationTestingUtility.initializeCluster(IntegrationTestingUtility.java:75)
> 	at org.apache.hadoop.hbase.test.IntegrationTestBigLinkedList.setUpCluster(IntegrationTestBigLinkedList.java:1104)
> 	at org.apache.hadoop.hbase.IntegrationTestBase.setUp(IntegrationTestBase.java:124)
> 	at org.apache.hadoop.hbase.IntegrationTestBase.doWork(IntegrationTestBase.java:109)
> 	at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:114)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.hbase.test.IntegrationTestBigLinkedList.main(IntegrationTestBigLinkedList.java:1225)
> {code}
> It looks like this was broken by:
> {code}
>    1 commit c0cdaf8400831bada22558febbab9681f606e26c
>    2 Author: stack <stack@apache.org>
>    3 Date:   Tue Nov 25 12:26:54 2014 -0800
>    4
>    5         HBASE-12404 Task 5 from parent: Replace internal HTable constructor use
with
>    6         HConnection#getTable (0.98, 0.99)
> {code}
> We used to create an HBaseAdmin internally with  managed connection but we changed it
to use the HTU's admin.  In the patch we added check that there is a HTU cluster up and running
-- a mini cluster -- but there won't be in the case of an IT test going against a cluster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message