[
https://issues.apache.org/jira/browse/HBASE-29071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916186#comment-17916186
]
Hudson commented on HBASE-29071:
--------------------------------
Results for branch master
[build #1248 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop ${HADOOP_THREE_VERSION} backward compatibility
checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop ${HADOOP_THREE_VERSION} backward compatibility
checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop ${HADOOP_THREE_VERSION} backward compatibility
checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1248/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
> StochasticLoadBalancer candidate generators should use a Map, rather than
> ordinal based indexing
> ------------------------------------------------------------------------------------------------
>
> Key: HBASE-29071
> URL: https://issues.apache.org/jira/browse/HBASE-29071
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 2.6.1
> Reporter: Ray Mattingly
> Assignee: Ray Mattingly
> Priority: Major
> Labels: pull-request-available
>
> The StochasticLoadBalancer maintains an enum of generator types, and then
> using the ordinal of that enum to order a list of candidate generators. This
> approach is needlessly fragile, and I think we should refactor it to use a
> Map instead.
> As a bonus, using a map could unlock the ability to support pluggable
> candidate generation if we wanted. I think that could be a nice way to offer
> robust balancer customization, without requiring that people write complex
> cost functions or an entire balancer implementation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)