accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3883) ITs should not load default ClientConfiguration
Date Wed, 03 Jun 2015 02:26:49 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Billie Rinaldi updated ACCUMULO-3883:
-------------------------------------
    Description: 
In StandaloneAccumuloClusterConfiguration, this appears not to work as expected, nor is it
necessary:
{noformat}
    this.clientConf = ClientConfiguration.loadDefault();
    try {
      clientConf.addConfiguration(new ClientConfiguration(clientConfFile));
    } catch (ConfigurationException e) {
      throw new RuntimeException("Failed to load client configuration from " + clientConfFile);
    }
{noformat}

In general ITs should not load the default configuration.

  was:
This appears not to work as expected, nor is it necessary:
{noformat}
    this.clientConf = ClientConfiguration.loadDefault();
    try {
      clientConf.addConfiguration(new ClientConfiguration(clientConfFile));
    } catch (ConfigurationException e) {
      throw new RuntimeException("Failed to load client configuration from " + clientConfFile);
    }
{noformat}

        Summary: ITs should not load default ClientConfiguration  (was: StandaloneAccumuloClusterConfiguration
loads ClientConfiguration badly)

The only other place I see loading the default at the moment is TransportCachingIT.

> ITs should not load default ClientConfiguration
> -----------------------------------------------
>
>                 Key: ACCUMULO-3883
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3883
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.7.0
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>             Fix For: 1.7.1, 1.8.0
>
>         Attachments: ACCUMULO-3883.1.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In StandaloneAccumuloClusterConfiguration, this appears not to work as expected, nor
is it necessary:
> {noformat}
>     this.clientConf = ClientConfiguration.loadDefault();
>     try {
>       clientConf.addConfiguration(new ClientConfiguration(clientConfFile));
>     } catch (ConfigurationException e) {
>       throw new RuntimeException("Failed to load client configuration from " + clientConfFile);
>     }
> {noformat}
> In general ITs should not load the default configuration.



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

Mime
View raw message