hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17821) The CompoundConfiguration#toString is wrong
Date Fri, 31 Mar 2017 09:34:41 GMT

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

Hudson commented on HBASE-17821:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.4 #685 (See [https://builds.apache.org/job/HBase-1.4/685/])
HBASE-17821: The CompoundConfiguration#toString is wrong (chia7712: rev cc700ef4c14d6b5c1e5ef03444196ed02e5e605e)
* (edit) hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java


> The CompoundConfiguration#toString is wrong
> -------------------------------------------
>
>                 Key: HBASE-17821
>                 URL: https://issues.apache.org/jira/browse/HBASE-17821
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Yi Liang
>            Priority: Trivial
>              Labels: beginner
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBase-17821-V1.patch, HBase-17821-V1.patch
>
>
> Find this bug when reading code. We dont use the API, so it is a trivial bug.
> sb.append(this.configs); -> sb.append(m);
> {noformat}
>   @Override
>   public String toString() {
>     StringBuffer sb = new StringBuffer();
>     sb.append("CompoundConfiguration: " + this.configs.size() + " configs");
>     for (ImmutableConfigMap m : this.configs) {
>       sb.append(this.configs);
>     }
>     return sb.toString();
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message