hmangla98 commented on pull request #2552:
URL: https://github.com/apache/hive/pull/2552#issuecomment-890787537


   > What was the root cause of the problem? Why does this change helps?
   > 
   > Thanks,
   > Peter
   
   Runnable was being released prior to setting the task Error. If main thread 
calls result.gettaskError(), it would return null because it's not set at that 
time. If you introduce wait time after taskQueue.releaseRunnable(), you can 
reproduce this issue in local setup.


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

Reply via email to