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/01/29 22:58:10 UTC

[jira] [Commented] (ACCUMULO-2246) values returned by MiniAccumuloConfig getters can change w/o set

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

John Vines commented on ACCUMULO-2246:
--------------------------------------

Sounds like MiniAccumuloClusterImpl should copy the MiniAccumuloConfigImpl and use that for everything.

> values returned by MiniAccumuloConfig getters can change w/o set
> ----------------------------------------------------------------
>
>                 Key: ACCUMULO-2246
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2246
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.6.0
>
>
> In MiniAccumuloConfig the values returned by some getters will change if MiniAccumuloConfig is passed to MiniAccumulo. This is strange behavior.  The methods should always return the config set by the user.  There are at least two methods that have this behavior {{getZookeeperPort()}} and {{getSiteConfig{}}}.  For {{getSiteConfig()}} this is a change in behavior from 1.4 and 1.5.  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)