Challengers installing Titan 1.0.0 on Windows

1,339 views
Skip to first unread message

David Crouch

unread,
Sep 27, 2015, 7:21:55 PM9/27/15
to Aurelius
Hi,

I downloaded the Zip file and have been having problems installing Titan per the docs. I have tried it on two different computers - a relatively clean Windows 8 machine, and a Windows 7 machine with the same results. Firstly, my Java environment:-

------------------------------------------------------------------------------

java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=================================================


I have set the Java_Home environment variable. I first tried to open the Gremlin console:-

-----------------------------------------------------------------------------

D:\titan-1.0.0-hadoop1>bin\gremlin
Error opening zip file or JAR manifest missing : ..\lib\jamm-0.3.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument

================================================


I saw similar problems raised on the web but did not find a solution. The file definitely exists in the "lib" directory. 

I then tried to run the Gremlin server with a default config:-

------------------------------------------------------------------------------

D:\titan-1.0.0-hadoop1>bin\gremlin-server
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/titan-1.0.0-hadoop1/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/titan-1.0.0-hadoop1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
10:58:07.106 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
10:58:07.117 [main] INFO  o.a.t.gremlin.server.GremlinServer -
         \,,,/
         (o o)
-----oOOo-(3)-oOOo-----

10:58:07.129 [main] ERROR o.a.t.gremlin.server.GremlinServer - Configuration file at conf/gremlin-server.yaml could not be found or parsed properly. [conf\gremlin-server.yaml (The system cannot find the file specified)] 


================================================

...and running the Gremlin server explicitly specifying the config file (I also tried it by copying the yaml file to the "conf" directory with the same results):-

-----------------------------------------------------------------------------

D:\titan-1.0.0-hadoop1>bin\gremlin-server conf\gremlin-server\gremlin-server.yaml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/titan-1.0.0-hadoop1/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/titan-1.0.0-hadoop1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
11:02:10.422 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
11:02:10.434 [main] INFO  o.a.t.gremlin.server.GremlinServer -
         \,,,/
         (o o)
-----oOOo-(3)-oOOo-----

11:02:10.847 [main] INFO  o.a.t.gremlin.server.GremlinServer - Configuring Gremlin Server from conf\gremlin-server\gremlin-server.yaml
11:02:10.988 [main] INFO  o.a.t.g.server.util.MetricManager - Configured Metrics ConsoleReporter configured with report interval=180000ms
11:02:10.997 [main] INFO  o.a.t.g.server.util.MetricManager - Configured Metrics CsvReporter configured with report interval=180000ms to fileName=/tmp
/gremlin-server-metrics.csv
11:02:11.170 [main] INFO  o.a.t.g.server.util.MetricManager - Configured Metrics JmxReporter configured with domain= and agentId=
11:02:11.179 [main] INFO  o.a.t.g.server.util.MetricManager - Configured Metrics Slf4jReporter configured with interval=180000ms and loggerName=org.ap
ache.tinkerpop.gremlin.server.Settings$Slf4jReporterMetrics
11:02:11.208 [main] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 8
11:02:11.238 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
11:02:11.239 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
11:02:11.243 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
11:02:11.245 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
11:02:11.247 [main] DEBUG i.n.util.internal.PlatformDependent - Platform: Windows
11:02:11.249 [main] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
11:02:11.254 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
11:02:11.255 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
11:02:11.257 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
11:02:11.545 [main] DEBUG i.n.util.internal.PlatformDependent - Javassist: available
11:02:11.547 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\DAVIDC~2\AppData\Local\Temp (java.io.tmpdir)
11:02:11.549 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
11:02:11.550 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
11:02:11.611 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
11:02:11.612 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
11:02:11.782 [main] DEBUG o.a.c.c.PropertiesConfiguration - FileName set to titan-berkeleyje-server.properties
11:02:11.783 [main] DEBUG o.a.c.c.PropertiesConfiguration - Base path set to D:\titan-1.0.0-hadoop1\conf\gremlin-server
11:02:11.798 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is D:\titan-1.0.0-hadoop1\conf\gremlin-server, name is titan-
berkeleyje-server.properties
11:02:11.803 [main] DEBUG o.a.c.c.DefaultFileSystem - Could not locate file titan-berkeleyje-server.properties at D:\titan-1.0.0-hadoop1\conf\gremlin-
server: unknown protocol: d
11:02:11.804 [main] DEBUG o.a.c.c.ConfigurationUtils - Loading configuration from the path D:\titan-1.0.0-hadoop1\conf\gremlin-server\titan-berkeleyje
-server.properties
11:02:13.124 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database system_properties
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:69) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.getStandaloneGlobalConfiguration(Backend.java:449) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1322) [titan-core-1.0.0.jar
:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.153 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 0 for database system_properties
11:02:13.333 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Removed database system_properties
11:02:13.396 [main] INFO  c.t.t.g.c.GraphDatabaseConfiguration - Generated unique-instance-id=c0a801352016-dcchlaptop21
11:02:13.490 [main] INFO  c.t.titan.diskstorage.Backend - Initiated backend operations thread pool of size 8
11:02:13.500 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database titan_ids
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:69) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:225) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.517 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 8 for database titan_ids
11:02:13.532 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database edgestore
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:69) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:234) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.543 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 8 for database edgestore
11:02:13.551 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database graphindex
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:69) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:235) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.563 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 0 for database graphindex
11:02:13.570 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database txlog
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLogManager.openLog(KCVSLogManager.java:213) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:268) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.580 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 0 for database txlog
11:02:13.597 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database systemlog
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLogManager.openLog(KCVSLogManager.java:213) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:269) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.609 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 0 for database systemlog
11:02:13.617 [main] DEBUG c.t.t.d.b.BerkeleyJEStoreManager - Opened database system_properties
java.lang.Throwable: null
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:172) [titan-berkeleyje-1.0.0
.jar:na]
        at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.openDatabase(BerkeleyJEStoreManager.java:34) [titan-berkeleyje-1.0.0.
jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:76) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:69) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.openDatabase(OrderedKeyValueStoreManagerAdap
ter.java:25) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:274) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1806) [titan-core-1.0.0
.jar:na]
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.627 [main] DEBUG c.t.t.d.k.k.OrderedKeyValueStoreAdapter - Used key length 0 for database system_properties
11:02:13.664 [main] DEBUG c.t.t.g.d.i.VertexIDAssigner - Partition IDs? [true], Local Partitions? [false]
11:02:13.681 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [0] to: 8
11:02:13.682 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [1] to: 28
11:02:13.683 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [2] to: 1
11:02:13.683 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [3] to: 7
11:02:13.684 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [4] to: 30
11:02:13.685 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [5] to: 2
11:02:13.685 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [6] to: 26
11:02:13.686 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [7] to: 18
11:02:13.686 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [8] to: 15
11:02:13.687 [main] DEBUG c.t.t.g.d.i.p.SimpleBulkPlacementStrategy - Setting partition at index [9] to: 22
11:02:13.832 [main] INFO  c.t.t.diskstorage.log.kcvs.KCVSLog - Loaded unidentified ReadMarker start time 2015-09-27T18:02:13.832Z into com.thinkaureli
us.titan.diskstorage.log.kcvs.KCVSLog$MessagePuller@2ef14fe
11:02:13.871 [main] DEBUG c.t.t.diskstorage.log.kcvs.KCVSLog - Creating log read executor: initialDelay=100000000 delay=5000000000 unit=NANOSECONDS
11:02:13.873 [main] DEBUG c.t.t.g.database.StandardTitanGraph - Installed shutdown hook Thread[Thread-1,5,main]
java.lang.Throwable: Hook creation trace
        at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:156) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94) [titan-core-1.0.0.jar:na]
        at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74) [titan-core-1.0.0.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104) [gremlin-core-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]

        at org.apache.tinkerpop.gremlin.server.GraphManager$$Lambda$10/1259652483.accept(Unknown Source) [gremlin-server-3.0.1-incubating.jar:3.0.1-in
cubating]
        at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) [na:1.8.0_25]
        at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94) [gremlin-server-3.0.1-incubating.jar:3
.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
        at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290) [gremlin-server-3.0.1-incubating.jar:3.0.1-incubating]
11:02:13.883 [main] INFO  o.a.t.gremlin.server.GremlinServer - Graph [graph] was successfully configured via [conf/gremlin-server/titan-berkeleyje-ser
ver.properties].
11:02:13.884 [main] INFO  o.a.t.g.s.util.ServerGremlinExecutor - Initialized Gremlin thread pool.  Threads in pool named with pattern gremlin-*
11:02:13.999 [pool-7-thread-1] DEBUG c.t.t.diskstorage.log.kcvs.KCVSLog - MessagePuller configured with ReadMarker timestamp slightly ahead of read la
g time; waiting for the clock to catch up
11:02:15.356 [main] INFO  o.a.t.g.groovy.engine.ScriptEngines - Loaded nashorn ScriptEngine
11:02:16.449 [main] INFO  o.a.t.g.groovy.engine.ScriptEngines - Loaded gremlin-groovy ScriptEngine
11:02:18.655 [main] INFO  o.a.t.g.g.engine.GremlinExecutor - Initialized gremlin-groovy ScriptEngine with scripts\empty-sample.groovy
11:02:18.656 [main] INFO  o.a.t.g.s.util.ServerGremlinExecutor - Initialized GremlinExecutor and configured ScriptEngines.
11:02:18.660 [main] INFO  o.a.t.g.s.util.ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with graphtraversalsource[standardtitangra
ph[berkeleyje:db/berkeley], standard]
11:02:18.730 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 4
11:02:18.731 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 4
11:02:18.731 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
11:02:18.732 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
11:02:18.732 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
11:02:18.733 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
11:02:18.734 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
11:02:18.735 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
11:02:18.735 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
11:02:18.736 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
11:02:18.911 [main] INFO  o.a.t.g.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo with org.apache.tinkerpop.gremlin.driver.s
er.GryoMessageSerializerV1d0
11:02:18.913 [main] INFO  o.a.t.g.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo-stringd with org.apache.tinkerpop.gremlin.
driver.ser.GryoMessageSerializerV1d0
11:02:19.261 [main] INFO  o.a.t.g.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+json with org.apache.tinkerpop.gremlin.driver.s
er.GraphSONMessageSerializerGremlinV1d0
11:02:19.266 [main] INFO  o.a.t.g.server.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessag
eSerializerV1d0
11:02:19.401 [main] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.org.apache.tinkerpop.gremlin
.driver.message.RequestMessageMatcher
11:02:19.413 [main] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.org.javatuples.PairMatcher
11:02:19.426 [main] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.org.apache.tinkerpop.gremlin
.driver.message.ResponseMessageMatcher
11:02:19.435 [main] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.
websocketx.TextWebSocketFrameMatcher
11:02:19.444 [main] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.
websocketx.BinaryWebSocketFrameMatcher
11:02:19.496 [main] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x0385e22b1f4f9ff4 (took 24 ms)
11:02:19.544 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
11:02:19.545 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
11:02:19.939 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1)
11:02:19.940 [main] DEBUG io.netty.util.NetUtil - \proc\sys\net\core\somaxconn: 200 (non-existent)
11:02:19.980 [gremlin-server-boss-1] INFO  o.a.t.gremlin.server.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool o
f 8 and boss thread pool of 1.
11:02:19.982 [gremlin-server-boss-1] INFO  o.a.t.gremlin.server.GremlinServer - Channel started at port 8182.

============================================================

I couldn't run a Gremlin shell to confirm if the Gremlin server is running correctly so I'm not sure. It says it is but I was confused by the errors. I did stop and re-start the Gremlin server because I thought they may have been first time initialization errors but got the same results. 

I saw a titan.sh file specified in the docs but there is no "bat" file equivalent. I recall from Titan 0.3 days having to do a "titan start" but couldn't find that anywhere in the docs. 
 
What am I missing?

Thanks,
Dave

Jason Plurad

unread,
Sep 27, 2015, 8:32:31 PM9/27/15
to Aurelius
You should try Java 8 update 40 or higher. I believe that is the minimum TP3 level.

Dan has this issue open for better checks against the Java version https://github.com/thinkaurelius/titan/issues/1154

David Crouch

unread,
Sep 27, 2015, 8:58:16 PM9/27/15
to Aurelius
Hi Jason,

I have Java 1.8.0_40 running on the 2nd machine (Windows 8) and still received the same errors. I'll download the latest patch and try it again.

Thanks,
Dave 
P.S. How do I change my spelling error in the topic title?   I was thinking of the 49ers-Cardinals game when I typed it up..LOL..

Effy Teva

unread,
Sep 28, 2015, 11:59:33 AM9/28/15
to Aurelius
I've add some issues as well.
One of which I couldn't solve yet, is reducing the log level from DEBUG to INFO/WARN.
First, the java parameter "Dlog4j.configuration" in gremlin-server.bat points to an invalid path.
Second, when I point it to a correct path, the log is still always DEBUG, when Threshold=INFO.

Any clues?

Thanks,
Effy

Effy

unread,
Sep 29, 2015, 8:06:56 AM9/29/15
to Aurelius
Hi Jason,

Did you manage to resolve this issue?
gremlin-server.bat works for me, but gremlin.bat doesn't.
I'm using Java 1.8.0_51 on Windows 10 (x64)

Thanks,
Effy

On Monday, September 28, 2015 at 3:58:16 AM UTC+3, David Crouch wrote:

Dan LaRocque

unread,
Sep 29, 2015, 12:55:19 PM9/29/15
to aureliu...@googlegroups.com
Hi,
 
I'm not sure exactly what's going on here.  It might be limited to path issues... it seems plausible that bin\gremlin.bat tries to evaluate ..\lib\jamm-0.3.0.jar from the wrong working directory, and I think I saw a slash direction mismatch somewhere in the thread.  On the other hand, it might be more complicated.
 
If someone has the time and interest to fix and test the shell scripts in Windows, a pull request against titan10 would be welcome.
 
thanks,
Dan
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 

Effy

unread,
Sep 29, 2015, 6:30:01 PM9/29/15
to Aurelius
I managed to get gremlin.bat running, but can't get cassandra-embedded running on it. Using the same titan-cassandra-embedded.properties file works well on gremlin-server.bat.

ERROR o.a.c.config.DatabaseDescriptor - Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable: [cassandra.config].  Please prefix the file with file:\\\ for local files or file:\\<server>\ for remote files. Aborting. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration.

Any clue? I couldn't find any "cassandra.config" setting.

Thanks,
Effy
...

David Crouch

unread,
Sep 29, 2015, 9:09:52 PM9/29/15
to Aurelius
Inspired by Effy's progress here are the changes to gremlin.bat needed to make it work as documented:-

CHANGE  
    set LIBDIR=..\lib  
TO  
    set LIBDIR=lib


CHANGE

if "%CP%" == "" (
set CP=%LIBDIR%\%1
)else (
set CP=%CP%;%LIBDIR%\%1
)

TO

if "%CP%" == "" (
set CP=%1
)else (
set CP=%CP%;%1
)


In hindsight it appears the script may have been designed to run from the "bin" directory. Per the docs I was trying to run it from the Titan root directory.

Regards,
Dave
...

Jason Plurad

unread,
Sep 29, 2015, 9:57:33 PM9/29/15
to Aurelius
That looks like a good start, David. I wonder if just using gremlin.bat straight out of TinkerPop 3.0.1 would work with Titan.

On a quick glance, it looks like the jamm-0.3.0.jar is the only Titan-specific difference (Cassandra-specific even).

You'll want to take a look at the gremlin.bat from TinkerPop3 also to make sure it pulls in any extension jars.
https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-console/src/main/bin/gremlin.bat#L24-L33

Also check out the -Djline.terminal=none in cases the arrow keys don't work for shell history.
https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-console/src/main/bin/gremlin.bat#L38
...

David Crouch

unread,
Oct 1, 2015, 11:46:22 AM10/1/15
to Aurelius
I've been trying to conquer Effy's problem of reducing the gremlin server log level as well but with no luck. It seems to ignore the settings as mentioned by Effy (even after correcting the path problem). Any suggestions?

Thanks,
Dave

Stephen Mallette

unread,
Oct 2, 2015, 4:10:22 PM10/2/15
to Aurelius
how are you specifying the path to the log4j properties file?

--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
Message has been deleted

Effy

unread,
Oct 3, 2015, 4:14:42 AM10/3/15
to Aurelius
I'm using the default setting on gremlin-server.bat:
java -Dlog4j.configuration=conf/gremlin-server/log4j-server.properties

Stephen Mallette

unread,
Oct 3, 2015, 8:29:26 AM10/3/15
to Aurelius
That definitely works off Windows.  Perhaps you should try to specify it as a URL for windows?  absolute pathing? maybe that will help? 

On Sat, Oct 3, 2015 at 4:14 AM, Effy <effy...@gmail.com> wrote:
I'm using the default setting on gremlin-server.bat:
java -Dlog4j.configuration=conf/gremlin-server/log4j-server.properties
On Friday, October 2, 2015 at 11:10:22 PM UTC+3, stephen mallette wrote:

Effy

unread,
Oct 3, 2015, 7:29:44 PM10/3/15
to Aurelius
Hi Stephen,

Made some tests, and finally managed to get the log4j properties file to load.
I had to write an absolute path, prefixed with "file:\\\\" (such as -Dlog4j.configuration=file:\\\\D:/titan/conf/gremlin-server/log4j-server.properties)
My simple log4j properties file, which I believe shouldn't generate an DEBUG messages is:
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j
.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j
.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

log4j
.rootLogger=WARN, stdout

However, I still receive tons of debug messages (such as: [gremlin-server-worker-1] DEBUG log-aggregator-encoder)
What am I missing...?

Thanks,
Effy

Effy

unread,
Oct 3, 2015, 7:46:01 PM10/3/15
to Aurelius
When I add "-Dlog4j.debug", I get the following messages in the gremlin-server.bat console output:

log4j: Using URL [file:////D:/titan/conf/gremlin-server/log4j-server.properties] for automatic log4j configuration.
log4j
: Reading configuration from URL file:////D:/titan/conf/gremlin-server/log4j-server.properties
log4j
: Parsing for [root] with value=[warn,stdout].
log4j
: Level token is [warn].
log4j
: Category root set to WARN
log4j
: Parsing appender named "stdout".
log4j
: Parsing layout options for "stdout".
log4j
: Setting property [conversionPattern] to [%-4r [%t] %-5p %c %x - %m%n].
log4j
: End of parsing for "stdout".
log4j
: Parsed "stdout" options.
log4j
: Finished configuring.

Stephen Mallette

unread,
Oct 5, 2015, 8:36:09 AM10/5/15
to Aurelius

Effy

unread,
Oct 5, 2015, 10:07:43 AM10/5/15
to Aurelius
Hi Stephen,

I've noticed this line as well when browsing the gremlin server configuration.
However, this is specific for Neo4j.
Do you know which specific configuration is relevant for Titan?

Thanks!
Effy

Stephen Mallette

unread,
Oct 5, 2015, 10:25:32 AM10/5/15
to Aurelius
You're going to need the logger name.  I think you can change the log4j pattern to include that:




Effy

unread,
Oct 8, 2015, 8:10:39 AM10/8/15
to Aurelius
Hi Stephen,

I've finally managed to overcome this issue.
The logs come from logback.
Adding a logback.xml file in titan root folder, solved this.

Logback.xml file contents:
<configuration>
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>
  <root level="info">
    <appender-ref ref="STDOUT" />
  </root>
</configuration>

Perhaps this should be documented somewhere...

Regards,
Effy

Stephen Mallette

unread,
Oct 8, 2015, 8:16:45 AM10/8/15
to Aurelius
yeah - there's that weird logback dependency in there.  think that has something to do with cassandra if i remember some stuff dan said about logging. forgot about that until you mentioned it now.  Please create an issue in Titan that references this thread and describes your solution - perhaps the answer is to include the logback.xml file in packaging.  If you have a pull request that would be cool too.

Jason Plurad

unread,
Jan 14, 2016, 4:43:39 PM1/14/16
to Aurelius
Effy, David,

I've opened up an issue to track this https://github.com/thinkaurelius/titan/issues/1242

Please comment there if there are any other changes to the *.bat files that might be needed.

Thanks!
-- Jason

Stephen Mallette

unread,
Jan 15, 2016, 6:56:12 AM1/15/16
to Aurelius
Jason, thanks for digging into this. I'm sorta glad we're a bit delayed on Titan 1.1 as it would be nice to have this fix in place for it.

Reply all
Reply to author
Forward
0 new messages