hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18902) TestCoprocessorServiceBackwardCompatibility fails in master branch
Date Thu, 28 Sep 2017 23:23:02 GMT

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

Ted Yu commented on HBASE-18902:
--------------------------------

Currently DummyRequest message is empty. I guess that was why Appy wrote 3 subtests since
it is not easy to distinguish the 3 calls made in the subtests on server side.
If we add an int field to DummyRequest message, different counters can be incremented depending
on the different values passed in DummyRequest.
This way only one subtest should suffice and we start / stop mini cluster once.

> TestCoprocessorServiceBackwardCompatibility fails in master branch
> ------------------------------------------------------------------
>
>                 Key: HBASE-18902
>                 URL: https://issues.apache.org/jira/browse/HBASE-18902
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 18902.v1.txt, 18902.v2.txt, 18902.v3.txt, HBASE-18902.master.001.patch,
HBASE-18902.master.001.patch
>
>
> Starting mini cluster in subtests without shutting down resulted in:
> {code}
> java.lang.IllegalStateException: A mini-cluster is already running
> 	at org.apache.hadoop.hbase.coprocessor.TestCoprocessorServiceBackwardCompatibility.testCoprocessorServiceLoadedByRegion(TestCoprocessorServiceBackwardCompatibility.java:109)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message