Aggarwal-Raghav commented on PR #5872:
URL: https://github.com/apache/hive/pull/5872#issuecomment-2972975588

   Based on the debugging, the _Task#initialize()_ method creates conf object 
in HiveServer2-Handler-Pool thread and when the post hook for protologging is 
triggered, it created a new thread (Hive Hook Proto Log Writer) which get the 
query plan and at that time, _ExplainTask#outputPlan()_ has conf as null which 
causes NPE.
   
   
https://github.com/apache/hive/blob/af59f241a07fb9960412529be71c6bfa1fcd042e/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java#L1006


-- 
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