accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1769) Auto test should use classpath from accumulo-site.xml if possible
Date Thu, 10 Oct 2013 18:06:42 GMT

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

Bill Havanki commented on ACCUMULO-1769:
----------------------------------------

The {{General_CLASSPATH}} value in the code is what get written to each test configuration
(as far as I can tell - see TestUtils.TestUtilsMixin.create_config_file). So, this change
folds into that mechanism, allowing the accumulo-site.xml classpath to take precedence if
it's defined. I guess interference could happen if the accumulo-site.xml classpath is malformed?

> Auto test should use classpath from accumulo-site.xml if possible
> -----------------------------------------------------------------
>
>                 Key: ACCUMULO-1769
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1769
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Bill Havanki
>            Priority: Minor
>              Labels: test
>         Attachments: ACCUMULO-1769.patch
>
>
> The TestUtils.py code under test/system/auto contains its own definition of the general
classpath. It should try to read and use the classpath that is defined in accumulo-site.xml
instead, just as it locates Zookeeper hosts. This ensures that tests use the same classpath
as the surrounding cluster.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message