HBASE-17821: The CompoundConfiguration#toString is wrong Signed-off-by: CHIA-PING TSAI <chia7...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a9682ca5 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a9682ca5 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a9682ca5 Branch: refs/heads/hbase-12439 Commit: a9682ca5dc46a74edca3da630560fbaf5d0cf38b Parents: 0ec1459 Author: Yi Liang <easyliang...@gmail.com> Authored: Thu Mar 23 13:29:23 2017 -0700 Committer: CHIA-PING TSAI <chia7...@gmail.com> Committed: Fri Mar 31 15:05:44 2017 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/CompoundConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/a9682ca5/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java ---------------------------------------------------------------------- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java index a7fcba6..5812cca 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java @@ -264,7 +264,7 @@ public class CompoundConfiguration extends Configuration { StringBuffer sb = new StringBuffer(); sb.append("CompoundConfiguration: " + this.configs.size() + " configs"); for (ImmutableConfigMap m : this.configs) { - sb.append(this.configs); + sb.append(m); } return sb.toString(); }