dlmarion opened a new pull request, #6446: URL: https://github.com/apache/accumulo/pull/6446
The StatusThread.updateStatus() method in the Manager calls gatherTableInformation to get information about all of the TabletServers in the cluster, then calls balanceTablets(). balanceTablets() creates a partitioned view of the status information and uses that when creating the BalanceParams to pass to table balancer's balance(). The HostRegexTableLoadBalancer.balance method will periodically check for tablets that are hosted outside of the definied regex. Prior to this change it was making an RPC call to every tablet server outside of the defined regex. This change uses the gathered tablet server information such that the RPC call is made to the tablet server if the information indicates that the tablet server is hosting tablets for the table. The RPC is necessary to get the extent information to create the migrations, but it's only necessary when the tablet server is hosting tablets for the table. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
