Indhumathi27 commented on code in PR #5860:
URL: https://github.com/apache/hive/pull/5860#discussion_r2143366986


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPoolManager.java:
##########
@@ -119,7 +119,7 @@ public void startPool(HiveConf conf, final 
WMFullResourcePlan resourcePlan) thro
     if (resourcePlan != null) {
       Collection<String> appliedTriggers = updateTriggers(resourcePlan);
       LOG.info("Updated tez session pool manager with triggers {} from active 
resource plan: {}",
-          appliedTriggers, resourcePlan.getPlan().getName());
+          appliedTriggers, resourcePlan == null || resourcePlan.getPlan() == 
null ? "null" : resourcePlan.getPlan().getName());

Review Comment:
   resourcePlan == null check won't be applicable as it is already in the if 
block line:119



-- 
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: gitbox-unsubscr...@hive.apache.org

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


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

Reply via email to