milleruntime opened a new issue #2121:
URL: https://github.com/apache/accumulo/issues/2121
The runtime class loading of the `HostRegexTableLoadBalancer` is broken. It
is likely this happened when it was refactored during the move to SPI. This
exception can be seen in the manager log when running `SuspendedTabletsIT`,
which seems to timeout often for me locally but the test can still pass even
with this exception.
<pre>
2021-05-27T10:39:11,473 [balancer.TableLoadBalancer] WARN : Failed to load
table balancer class
org.apache.accumulo.core.spi.balancer.HostRegexTableLoadBalancer for table !0
java.lang.NoSuchMethodException:
org.apache.accumulo.core.spi.balancer.HostRegexTableLoadBalancer.<init>(org.apache.accumulo.core.data.TableId)
at java.lang.Class.getConstructor0(Class.java:3349) ~[?:?]
at java.lang.Class.getConstructor(Class.java:2151) ~[?:?]
at
org.apache.accumulo.core.spi.balancer.TableLoadBalancer.constructNewBalancerForTable(TableLoadBalancer.java:58)
~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.core.spi.balancer.TableLoadBalancer.getBalancerForTable(TableLoadBalancer.java:91)
[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.core.spi.balancer.TableLoadBalancer.getAssignments(TableLoadBalancer.java:115)
[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.manager.Manager.getAssignments(Manager.java:1735)
[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.manager.TabletGroupWatcher.getAssignmentsFromBalancer(TabletGroupWatcher.java:880)
[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.manager.TabletGroupWatcher.flushChanges(TabletGroupWatcher.java:911)
[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
at
org.apache.accumulo.manager.TabletGroupWatcher.run(TabletGroupWatcher.java:318)
[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
2021-05-27T10:39:11,474 [balancer.TableLoadBalancer] INFO : Using balancer
org.apache.accumulo.core.spi.balancer.SimpleLoadBalancer for table !0
</pre>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]