stoty commented on PR #7892: URL: https://github.com/apache/hadoop/pull/7892#issuecomment-3233272202
I general, I think for robustness reasons Hadoop should stop directly using Thread. I would go as far as adding maven enforcer rules to prohibit code from directly using Thread. Using a naked Thread by mistake in the code can lead to hard to debug bugs which only manifest in kerberized (i.e real production) clusters. It is much safer to use HadoopThread everywhere, the overhead is negligible compared to the cost of starting a new thread. (basically reading then setting a ThreadLocal or equivalent structure) -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org