{"action":"closed","issue":{"url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/605","repository_url":"https://api.github.com/repos/JanusGraph/janusgraph","labels_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/605/comments","events_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/605/events","html_url":"https://github.com/JanusGraph/janusgraph/issues/605","id":263489434,"number":605,"title":"TinkerPop Spark integration broken in zip distribution","user":{"login":"twilmes","id":4722637,"avatar_url":"https://avatars3.githubusercontent.com/u/4722637?v=4","gravatar_id":"","url":"https://api.github.com/users/twilmes","html_url":"https://github.com/twilmes","followers_url":"https://api.github.com/users/twilmes/followers","following_url":"https://api.github.com/users/twilmes/following{/other_user}","gists_url":"https://api.github.com/users/twilmes/gists{/gist_id}","starred_url":"https://api.github.com/users/twilmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilmes/subscriptions","organizations_url":"https://api.github.com/users/twilmes/orgs","repos_url":"https://api.github.com/users/twilmes/repos","events_url":"https://api.github.com/users/twilmes/events{/privacy}","received_events_url":"https://api.github.com/users/twilmes/received_events","type":"User","site_admin":false},"labels":[{"id":507186123,"url":"https://api.github.com/repos/JanusGraph/janusgraph/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/JanusGraph/janusgraph/milestones/2","html_url":"https://github.com/JanusGraph/janusgraph/milestone/2","labels_url":"https://api.github.com/repos/JanusGraph/janusgraph/milestones/2/labels","id":2425297,"number":2,"title":"Release v0.2.0","description":"","creator":{"login":"twilmes","id":4722637,"avatar_url":"https://avatars3.githubusercontent.com/u/4722637?v=4","gravatar_id":"","url":"https://api.github.com/users/twilmes","html_url":"https://github.com/twilmes","followers_url":"https://api.github.com/users/twilmes/followers","following_url":"https://api.github.com/users/twilmes/following{/other_user}","gists_url":"https://api.github.com/users/twilmes/gists{/gist_id}","starred_url":"https://api.github.com/users/twilmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilmes/subscriptions","organizations_url":"https://api.github.com/users/twilmes/orgs","repos_url":"https://api.github.com/users/twilmes/repos","events_url":"https://api.github.com/users/twilmes/events{/privacy}","received_events_url":"https://api.github.com/users/twilmes/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":81,"state":"open","created_at":"2017-03-31T19:17:57Z","updated_at":"2017-10-08T18:44:45Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-10-06T15:42:56Z","updated_at":"2017-10-08T18:44:45Z","closed_at":"2017-10-08T18:44:45Z","author_association":"CONTRIBUTOR","body":"I reproduced this issue using the 0.2.0-SNAPSHOT zip distribution on Ubuntu and MacOS. Starting the gremlin console up from a fresh unzip of the distribution and attempting to run an OLAP query I get the following exception. I think this may be related to a jar version conflict (see https://stackoverflow.com/questions/28086520/spark-application-throws-javax-servlet-filterregistration for an example).\r\n\r\n```\r\ngremlin> graph = GraphFactory.open('conf/hadoop-graph/read-cassandra.properties')\r\n==>hadoopgraph[cassandrainputformat->gryooutputformat]\r\ngremlin> g = graph.traversal().withComputer(SparkGraphComputer)\r\n==>graphtraversalsource[hadoopgraph[cassandrainputformat->gryooutputformat], sparkgraphcomputer]\r\ngremlin> g.V().count()\r\n10:38:53 WARN  org.apache.spark.SparkContext  - Another SparkContext is being constructed (or threw an exception in its constructor).  This may indicate an error, since only one SparkContext may be running in this JVM (see SPARK-2243). The other SparkContext was created at:\r\norg.apache.spark.SparkContext.getOrCreate(SparkContext.scala)\r\norg.apache.tinkerpop.gremlin.spark.structure.Spark.create(Spark.java:52)\r\norg.apache.tinkerpop.gremlin.spark.structure.Spark.create(Spark.java:60)\r\norg.apache.tinkerpop.gremlin.spark.process.computer.SparkGraphComputer.lambda$submitWithExecutor$0(SparkGraphComputer.java:193)\r\njava.util.concurrent.FutureTask.run(FutureTask.java:266)\r\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\njava.lang.Thread.run(Thread.java:745)\r\n10:38:53 ERROR org.apache.spark.SparkContext  - Error initializing SparkContext.\r\njava.lang.SecurityException: class \"javax.servlet.FilterRegistration\"'s signer information does not match signer information of other classes in the same package\r\n\tat java.lang.ClassLoader.checkCerts(ClassLoader.java:895)\r\n\tat java.lang.ClassLoader.preDefineClass(ClassLoader.java:665)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:758)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:467)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:368)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:362)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:361)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat org.spark-project.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:136)\r\n\tat org.spark-project.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:129)\r\n\tat org.spark-project.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:98)\r\n\tat org.apache.spark.ui.JettyUtils$.createServletHandler(JettyUtils.scala:126)\r\n\tat org.apache.spark.ui.JettyUtils$.createServletHandler(JettyUtils.scala:113)\r\n\tat org.apache.spark.ui.WebUI.attachPage(WebUI.scala:78)\r\n\tat org.apache.spark.ui.WebUI$$anonfun$attachTab$1.apply(WebUI.scala:62)\r\n\tat org.apache.spark.ui.WebUI$$anonfun$attachTab$1.apply(WebUI.scala:62)\r\n\tat scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\r\n\tat scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)\r\n\tat org.apache.spark.ui.WebUI.attachTab(WebUI.scala:62)\r\n\tat org.apache.spark.ui.SparkUI.initialize(SparkUI.scala:63)\r\n\tat org.apache.spark.ui.SparkUI.<init>(SparkUI.scala:76)\r\n\tat org.apache.spark.ui.SparkUI$.create(SparkUI.scala:195)\r\n\tat org.apache.spark.ui.SparkUI$.createLiveUI(SparkUI.scala:146)\r\n\tat org.apache.spark.SparkContext.<init>(SparkContext.scala:473)\r\n\tat org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2281)\r\n\tat org.apache.spark.SparkContext.getOrCreate(SparkContext.scala)\r\n\tat org.apache.tinkerpop.gremlin.spark.structure.Spark.create(Spark.java:52)\r\n\tat org.apache.tinkerpop.gremlin.spark.structure.Spark.create(Spark.java:60)\r\n\tat org.apache.tinkerpop.gremlin.spark.process.computer.SparkGraphComputer.lambda$submitWithExecutor$0(SparkGraphComputer.java:193)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}
{"actor":{"display_login":"sjudeng"}}