tanishq-chugh commented on code in PR #5538:
URL: https://github.com/apache/hive/pull/5538#discussion_r1840969147
##########
ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java:
##########
@@ -125,6 +130,12 @@ public QueryPlan getPlan() {
public void setPlan(QueryPlan plan) {
this.plan = plan;
+ TezTask task = Utilities.getFirstTezTask(plan.getRootTasks()).orElse(null);
Review Comment:
@abstractdog After query run completes, when resources are being released
by the driver, plan is being set to null and it is causing NullPointerException
here, which is present as part of DEBUG logs.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]