accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2246) values returned by MiniAccumuloConfig getters can change w/o set
Date Wed, 26 Feb 2014 17:49:23 GMT

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

ASF subversion and git services commented on ACCUMULO-2246:
-----------------------------------------------------------

Commit b5b38d889b8d873041595eec6969000f3711aa96 in accumulo's branch refs/heads/master from
[~keith_turner]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=b5b38d8 ]

ACCUMULO-2246 made MiniAccumloConfig getters return what was set


> 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