accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1699) ZooKeeperInstance lazy load instanceId
Date Sat, 07 Sep 2013 03:03:51 GMT
Christopher Tubbs created ACCUMULO-1699:

             Summary: ZooKeeperInstance lazy load instanceId
                 Key: ACCUMULO-1699
             Project: Accumulo
          Issue Type: Improvement
          Components: client
    Affects Versions: 1.5.0
            Reporter: Christopher Tubbs
             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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message