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/18 09:34:43 UTC

[GitHub] [atlas] zhangxiong0301 commented on a change in pull request #75: ATLAS-3519: pool performance in hive lineage query

zhangxiong0301 commented on a change in pull request #75: ATLAS-3519: pool performance in hive lineage query
URL: https://github.com/apache/atlas/pull/75#discussion_r347275023
 
 

 ##########
 File path: graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraph.java
 ##########
 @@ -330,13 +332,16 @@ public void exportToGson(OutputStream os) throws IOException {
 
     @Override
     public GremlinGroovyScriptEngine getGremlinScriptEngine() {
+        return scriptEngine;
 
 Review comment:
   according to tinkerpop github code,the GremlinGroovyScriptEngine class is thread-safe.below is the link of tinkerpop test code for thread-safe feature ( shouldBeThreadSafe() method ):
   https://github.com/apache/tinkerpop/blob/master/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java
   thanks.

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