apurtell commented on a change in pull request #2312:
URL: https://github.com/apache/hbase/pull/2312#discussion_r505965769
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
##########
@@ -430,7 +440,7 @@ protected boolean needsBalance(Cluster cluster) {
System.arraycopy(tempFunctionCosts, 0, curFunctionCosts, 0,
this.curFunctionCosts.length);
double initCost = currentCost;
- double newCost = currentCost;
+ double newCost;
Review comment:
What happened here? Seems like an extraneous change and maybe wrong?
----------------------------------------------------------------
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]