Repository: helix Updated Branches: refs/heads/master ae23842d2 -> 91ec6d38f
Fix resource name not printing Project: http://git-wip-us.apache.org/repos/asf/helix/repo Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/91ec6d38 Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/91ec6d38 Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/91ec6d38 Branch: refs/heads/master Commit: 91ec6d38f1c63b40ba54da066406fc1d009c4389 Parents: ae23842 Author: Junkai Xue <[email protected]> Authored: Wed Jul 25 11:56:12 2018 -0700 Committer: Junkai Xue <[email protected]> Committed: Wed Jul 25 12:07:26 2018 -0700 ---------------------------------------------------------------------- .../apache/helix/controller/rebalancer/MaintenanceRebalancer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/helix/blob/91ec6d38/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java ---------------------------------------------------------------------- diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java index ed06b28..3de3a3d 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java +++ b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java @@ -38,7 +38,8 @@ public class MaintenanceRebalancer extends SemiAutoRebalancer { Collections.<String>emptyList())); currentIdealState.setPreferenceList(partition.getPartitionName(), preferenceList); } - LOG.info("End computing ideal state for resource %s in maintenance mode."); + LOG.info(String + .format("End computing ideal state for resource %s in maintenance mode.", resourceName)); return currentIdealState; } }
