J-HowHuang commented on code in PR #15618:
URL: https://github.com/apache/pinot/pull/15618#discussion_r2076076577


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalancer.java:
##########
@@ -485,7 +485,8 @@ private RebalanceResult doRebalance(TableConfig 
tableConfig, RebalanceConfig reb
             externalViewCheckIntervalInMs, 
externalViewStabilizationTimeoutInMs, estimatedAverageSegmentSizeInBytes,
             allSegmentsFromIdealState, tableRebalanceLogger);
       } catch (Exception e) {
-        String errorMsg = "Caught exception while waiting for ExternalView to 
converge, aborting the rebalance";
+        String errorMsg =
+            "Caught exception while waiting for ExternalView to converge, 
aborting the rebalance: " + e.getMessage();

Review Comment:
   Right but we need this at the later 
`_tableRebalanceObserver.onError(errorMsg)` to bubble the exception info into 
ZK. To make it consistent between ZK and log, I log (warn) the same text as 
shown in ZK.



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to