accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2246) values returned by MiniAccumuloConfig getters can change w/o set
Date Wed, 29 Jan 2014 21:58:10 GMT

    [ 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)

Mime
View raw message