accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-126) ZooKeeperInstance should use site configuration for ZK timeout
Date Tue, 08 Nov 2011 14:23:54 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146322#comment-13146322
] 

Eric Newton commented on ACCUMULO-126:
--------------------------------------

Hm... no, we can't use the SiteConfiguration in client code because clients don't have access
to the accumulo-site.xml configuration file.  But we should expose the constructor that allows
the client to set their own timeout value.

                
> ZooKeeperInstance should use site configuration for ZK timeout
> --------------------------------------------------------------
>
>                 Key: ACCUMULO-126
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-126
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.3.5
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Minor
>
> The  public constructor for ZooKeeperInstance hard codes the zk timeout to the default
found via DefaultConfiguration. Instead, it should use SiteConfiguration in case the local
configuration differs.
> This is a single line change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message