accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3742) Multiple-valued client properties don't work
Date Mon, 20 Apr 2015 20:54:00 GMT


Billie Rinaldi commented on ACCUMULO-3742:

Mostly we are using PropertiesConfiguration to read a config file.  We could introduce a new
constructor to ClientConfiguration that takes a config file and handles it properly (see below),
although that would not prevent people from using it the broken way.
  public ClientConfiguration(String configFile) throws ConfigurationException {
    this(new PropertiesConfiguration(), configFile);

  private ClientConfiguration(PropertiesConfiguration propertiesConfiguration, String configFile)
throws ConfigurationException {
    // Don't do list interpolation

> Multiple-valued client properties don't work
> --------------------------------------------
>                 Key: ACCUMULO-3742
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>             Fix For: 1.7.0
> When we use the pattern new ClientConfiguration(new PropertiesConfiguration), the PropertiesConfiguration
has already interpreted any multi-valued properties as lists, so when we read those properties
as strings we only get the first value in the list.  This affects
and trace.span.receivers.

This message was sent by Atlassian JIRA

View raw message