gremlin - Titan 1.0.0 TitanFactory.open() Hook creation trace error(?) -
i'm trying out titan 1.0.0 cassandra 2.1.2.
i keep getting long debug trace , strange error gremlin when opening graph (using titanfactroy.open()):
...
17:54:36.551 [main] debug c.t.t.g.database.standardtitangraph - installed shutdown hook thread[thread-3,5,main] java.lang.throwable: hook creation trace @ com.thinkaurelius.titan.graphdb.database.standardtitangraph.(standardtitangraph.java:156) [titan-core-1.0.0.jar:na] @ com.thinkaurelius.titan.core.titanfactory.open(titanfactory.java:94) [titan-core-1.0.0.jar:na] @ com.thinkaurelius.titan.core.titanfactory.open(titanfactory.java:74) [titan-core-1.0.0.jar:na] @ com.ibm.titantest.graph.writetograph.main(writetograph.java:27) [classes/:na] 17:54:36.646 [pool-19-thread-1] debug c.t.t.diskstorage.log.kcvs.kcvslog - messagepuller configured readmarker timestamp ahead of read lag time; waiting clock catch 17:54:41.650 [pool-19-thread-1] debug c.t.t.d.c.cassandratransaction - created cassandratransaction@6e234a4a[read=quorum,write=quorum] 17:54:46.652 [pool-19-thread-1] debug c.t.t.d.c.cassandratransaction - created cassandratransaction@2c7b5ce[read=quorum,write=quorum]
managed fix in gremlin console creating file called logback.xml in titan root folder containing:
<configuration> <appender name="stdout" class="ch.qos.logback.core.consoleappender"> <!-- encoders assigned type ch.qos.logback.classic.encoder.patternlayoutencoder default --> <encoder> <pattern>%d{hh:mm:ss.sss} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <root level="warn"> <appender-ref ref="stdout" /> </root> </configuration>
(solution taken here)
but how can solve when running gremlin eclipse?
Comments
Post a Comment