[
https://issues.apache.org/jira/browse/HBASE-10409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880402#comment-13880402
]
Ted Yu commented on HBASE-10409:
--------------------------------
For a downstream project, hbase-site.xml may not be in classpath.
Hence HBaseConfiguration#create wouldn't be able to pick up zookeeper quorum
information.
Here is related code in AbstractHBaseTool#doStaticMain :
{code}
ret = ToolRunner.run(HBaseConfiguration.create(), this, args);
{code}
> Allow config options related to zookeeper to be passed to
> IntegrationTestsDriver
> --------------------------------------------------------------------------------
>
> Key: HBASE-10409
> URL: https://issues.apache.org/jira/browse/HBASE-10409
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.98.0, 0.99.0
>
> Attachments: 10409-v1.txt
>
>
> Currently IntegrationTestsDriver only accepts one parameter: regex for
> integration test.
> {code}
> public static void main(String[] args) throws Exception {
> int ret = ToolRunner.run(new IntegrationTestsDriver(), args);
> {code}
> To allow IntegrationTestsDriver to be activated through Java API, support for
> passing config options related to zookeeper should be added - similarly to
> what LoadTestTool supports.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)