[ https://issues.apache.org/jira/browse/HBASE-12799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264720#comment-14264720 ]
Jonathan Hsieh commented on HBASE-12799: ---------------------------------------- +1 lgtm. > ITAG fails with java.lang.RuntimeException if table does not exist > ------------------------------------------------------------------ > > Key: HBASE-12799 > URL: https://issues.apache.org/jira/browse/HBASE-12799 > Project: HBase > Issue Type: Test > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 1.0.0, 2.0.0, 1.1.0 > > Attachments: hbase-12799_v1.patch > > > If the table does not exists: > {code} > 2015-01-02 16:20:35,764 ERROR [main] util.AbstractHBaseTool: Error running > command-line tool > java.lang.RuntimeException: > org.apache.hadoop.hbase.DistributedHBaseCluster@7e02856c not an instance of > org.apache.hadoop.hbase.MiniHBaseCluster > at > org.apache.hadoop.hbase.HBaseTestingUtility.getMiniHBaseCluster(HBaseTestingUtility.java:1022) > at > org.apache.hadoop.hbase.HBaseTestingUtility.getHBaseCluster(HBaseTestingUtility.java:2569) > at > org.apache.hadoop.hbase.HBaseTestingUtility.waitUntilAllRegionsAssigned(HBaseTestingUtility.java:3055) > at > org.apache.hadoop.hbase.HBaseTestingUtility.waitUntilAllRegionsAssigned(HBaseTestingUtility.java:3011) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1304) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1334) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1254) > at > org.apache.hadoop.hbase.TestAcidGuarantees.createTableIfMissing(TestAcidGuarantees.java:80) > at > org.apache.hadoop.hbase.TestAcidGuarantees.runTestAtomicity(TestAcidGuarantees.java:264) > at > org.apache.hadoop.hbase.IntegrationTestAcidGuarantees.runTestFromCommandLine(IntegrationTestAcidGuarantees.java:58) > at > org.apache.hadoop.hbase.IntegrationTestBase.doWork(IntegrationTestBase.java:112) > at > org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at > org.apache.hadoop.hbase.IntegrationTestAcidGuarantees.main(IntegrationTestAcidGuarantees.java:115) > {code} > [~jmhsieh] FYI. -- This message was sent by Atlassian JIRA (v6.3.4#6332)