You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2014/10/10 01:08:34 UTC
[jira] [Issue Comment Deleted] (ACCUMULO-3218) ZooKeeperInstance
only uses first ZooKeeper in list of quorum
[ https://issues.apache.org/jira/browse/ACCUMULO-3218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Vines updated ACCUMULO-3218:
---------------------------------
Comment: was deleted
(was: I think this should be fixed in 1.6.2 as this is a pretty big resilliency issue)
> ZooKeeperInstance only uses first ZooKeeper in list of quorum
> -------------------------------------------------------------
>
> Key: ACCUMULO-3218
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3218
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.6.0, 1.6.1
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Blocker
> Fix For: 1.6.2, 1.7.0
>
>
> Had tests running which had a quorum of 3 ZooKeeper servers. One appears to have died and the test was then unable to connect to the Accumulo shell, hanging on trying to connect to ZooKeeper.
> There was no client.conf file present, so a ClientConfiguration was constructed from accumulo-site.xml.
> {code}
> this.zooKeepers = clientConf.get(ClientProperty.INSTANCE_ZK_HOST);
> {code}
> When the commons configuration AbstractConfiguration class is used with the get() method, only the first element in the value is returned, as the implementation treats the other items as a list because of the default separator of a comma.
> It's easily reproduced with the following:
> {code}
> ZooKeeperInstance inst = new ZooKeeperInstance("accumulo", "localhost,127.0.0.1");
> System.out.println(inst.getZooKeepers());
> {code}
> The above will print
> {noformat}
> localhost
> {noformat}
> instead of the expected
> {noformat}
> localhost,127.0.0.1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)