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 2013/11/01 20:12:17 UTC
[jira] [Updated] (ACCUMULO-1699) ZooKeeperInstance lazy load
instanceId
[ https://issues.apache.org/jira/browse/ACCUMULO-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Vines updated ACCUMULO-1699:
---------------------------------
Fix Version/s: (was: 1.7.0)
1.6.0
Status: Patch Available (was: Open)
Patch included with the ACCUMULO-1009 patch
> ZooKeeperInstance lazy load instanceId
> --------------------------------------
>
> Key: ACCUMULO-1699
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1699
> Project: Accumulo
> Issue Type: Improvement
> Components: client
> Affects Versions: 1.5.0
> Reporter: Christopher Tubbs
> Assignee: Michael Berman
> Fix For: 1.6.0
>
>
> I was unit testing the serialization of ZooKeeperInstance settings in a mapreduce job, and discovered that I couldn't deserialize and construct the ZooKeeperInstance unless the hostnames were valid and ZK was running.
> It should be possible to construct an instance of ZooKeeperInstance without trying to connect.
> It is unintuitive that it immediately tries to connect to ZooKeeper when it is constructed, instead of waiting until getInstanceId() is called.
> The constructor should only construct the object... not do work.
--
This message was sent by Atlassian JIRA
(v6.1#6144)