alirezazamani commented on a change in pull request #337: Fixing 
IllegalStateException for CRUSH based rebalance strategy algorithm.
URL: https://github.com/apache/helix/pull/337#discussion_r304162259
 
 

 ##########
 File path: 
helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
 ##########
 @@ -259,7 +259,7 @@ private boolean 
computeResourceBestPossibleState(ClusterEvent event, ResourceCon
         return checkBestPossibleStateCalculation(idealState);
       } catch (Exception e) {
         LogUtil
-            .logError(logger, _eventId, "Error computing assignment for 
resource " + resourceName + ". Skipping.", e);
+            .logError(logger, _eventId, "Error computing assignment for 
resource " + resourceName + ". Skipping.");
 
 Review comment:
   I think if we print the exception message, the issue won't be resolved. The 
argue/issue was to avoid getting the exception message in this case. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to