[
https://issues.apache.org/jira/browse/HBASE-20737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515056#comment-16515056
]
Hudson commented on HBASE-20737:
--------------------------------
Results for branch branch-2
[build #872 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/872/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/872//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/872//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/872//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
> put collection into ArrayList instead of addAll function
> --------------------------------------------------------
>
> Key: HBASE-20737
> URL: https://issues.apache.org/jira/browse/HBASE-20737
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: taiyinglee
> Assignee: taiyinglee
> Priority: Trivial
> Fix For: 3.0.0, 2.1.0
>
> Attachments: HBASE-20737.v0.patch, HBASE-20737.v0.patch
>
>
> [https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html]
> [https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html]
> [https://docs.oracle.com/javase/7/docs/api/java/util/Set.html]
>
> /hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ClusterStatusPublisher.java
> change
> List<Map.Entry<ServerName, Integer>> entries = new ArrayList<>();
> entries.addAll(lastSent.entrySet());
> to
> List<Map.Entry<ServerName, Integer>> entries = new
> ArrayList<>(lastSent.entrySet());
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)