You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by GitBox <gi...@apache.org> on 2019/11/19 07:54:29 UTC

[GitHub] [atlas] mneethiraj commented on issue #75: ATLAS-3519: pool performance in hive lineage query

mneethiraj commented on issue #75: ATLAS-3519: pool performance in hive lineage query
URL: https://github.com/apache/atlas/pull/75#issuecomment-555379140
 
 
   @zhangxiong0301  - though the script engine class itself is thread-safe, it can contain state (like variable set at the engine scope) and having this thread updated/read in multiple threads simultaneously can result in unexpected results. Hence the suggestion to use ThreadLocal<>, to ensure that an engine is not used simultaneously by multiple threads.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services