[Unit]
Description=The Titan database
After=network.target
[Service]
User=sammy
Group=www-data
PIDFile=/tmp/titan.pid
Environment="PATH=/home/sammy/titan-1.0.0-hadoop1:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
WorkingDirectory=/home/sammy/titan-1.0.0-hadoop1
ExecStart=/home/sammy/titan-1.0.0-hadoop1/bin/titan.sh start
ExecStop=/home/sammy/titan-1.0.0-hadoop1/bin/titan.sh stop
[Install]
WantedBy=multi-user.target
● titan.service - The Titan database
Loaded: loaded (/etc/systemd/system/titan.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2017-06-02 16:46:05 UTC; 25s ago
Main PID: 10761 (titan.sh)
Tasks: 131
Memory: 741.6M
CPU: 41.077s
CGroup: /system.slice/titan.service
├─10761 /bin/bash /home/sammy/titan-1.0.0-hadoop1/bin/titan.sh start
[Unit]
├─10834 java -Dtitan.logdir=/home/sammy/titan-1.0.0-hadoop1/log -ea -javaagent:/home/sammy/titan-1.0.0-hadoop1/lib/jamm-0.3.0.jar -XX:+CMSClassUnloadingEnabled -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -
├─11154 /usr/bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryEr
├─11265 java -server -Dtitan.logdir=/home/sammy/titan-1.0.0-hadoop1/bin/../log -Dlog4j.configuration=conf/gremlin-server/log4j-server.properties -Xms32m -Xmx512m -javaagent:/home/sammy/titan-1.0.0-hadoop1/lib/jamm-
└─11349 sleep 2
Jun 02 16:46:05 ubuntu-16-titan-2gb systemd[1]: Started The Titan database.
Jun 02 16:46:05 ubuntu-16-titan-2gb titan.sh[10761]: Forking Cassandra...
[Unit]
Jun 02 16:46:19 ubuntu-16-titan-2gb titan.sh[10761]: Running `nodetool statusthrift`... OK (returned exit status 0 and printed string "running").
Jun 02 16:46:19 ubuntu-16-titan-2gb titan.sh[10761]: Forking Elasticsearch...
Jun 02 16:46:26 ubuntu-16-titan-2gb titan.sh[10761]: Connecting to Elasticsearch (127.0.0.1:9300).... OK (connected to 127.0.0.1:9300).
Jun 02 16:46:26 ubuntu-16-titan-2gb titan.sh[10761]: Forking Gremlin-Server...
sammy@ubuntu-16-titan-2gb:~/titan-1.0.0-hadoop1$ sudo systemctl status titan.service
● titan.service - The Titan database
Loaded: loaded (/etc/systemd/system/titan.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2017-06-02 16:52:56 UTC; 3min 18s ago
Process: 12957 ExecStop=/home/sammy/titan-1.0.0-hadoop1/bin/titan.sh stop (code=exited, status=0/SUCCESS)
Main PID: 12274 (code=exited, status=0/SUCCESS)
Jun 02 16:52:33 ubuntu-16-titan-2gb titan.sh[12274]: Running `nodetool statusthrift`... OK (returned exit status 0 and printed string "running").
Jun 02 16:52:33 ubuntu-16-titan-2gb titan.sh[12274]: Forking Elasticsearch...
Jun 02 16:52:40 ubuntu-16-titan-2gb titan.sh[12274]: Connecting to Elasticsearch (127.0.0.1:9300).... OK (connected to 127.0.0.1:9300).
Jun 02 16:52:40 ubuntu-16-titan-2gb titan.sh[12274]: Forking Gremlin-Server...
Jun 02 16:52:43 ubuntu-16-titan-2gb systemd[1]: Started The Titan database.
Jun 02 16:52:49 ubuntu-16-titan-2gb titan.sh[12274]: Connecting to Gremlin-Server (127.0.0.1:8182)..... OK (connected to 127.0.0.1:8182).
Jun 02 16:52:49 ubuntu-16-titan-2gb titan.sh[12274]: Run gremlin.sh to connect.
Jun 02 16:52:49 ubuntu-16-titan-2gb titan.sh[12957]: Killing Gremlin-Server (pid 12807)...
Jun 02 16:52:53 ubuntu-16-titan-2gb titan.sh[12957]: Killing Elasticsearch (pid 12677)...
Jun 02 16:52:53 ubuntu-16-titan-2gb titan.sh[12957]: Killing Cassandra (pid 12348)...
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/26071311-694f-467a-a0fa-caa74f6a259f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
4559 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Initialized GremlinExecutor and configured ScriptEngines.
4678 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4680 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo-stringd with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
4881 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4884 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
7942 [main] WARN io.netty.util.internal.ThreadLocalRandom - Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
8047 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 8 and boss thread pool of 1.
8047 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Channel started at port 8182.
9063 [gremlin-server-shutdown] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Shutting down thread pools.
11274 [gremlin-server-stop] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server - shutdown complete
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
1755 [main] WARN org.apache.tinkerpop.gremlin.server.GremlinServer - Graph [graph] configured at [conf/gremlin-server/custom-titan-config.properties] could not be instantiated and will not be available in Gremlin Server. GraphFactory message: Configuration must contain a valid 'gremlin.graph' setting
java.lang.RuntimeException: Configuration must contain a valid 'gremlin.graph' setting
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:57)
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50)
at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:671)
at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48)
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88)
at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290)
1761 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-*
2825 [main] INFO org.apache.tinkerpop.gremlin.groovy.engine.ScriptEngines - Loaded nashorn ScriptEngine
3428 [main] INFO org.apache.tinkerpop.gremlin.groovy.engine.ScriptEngines - Loaded gremlin-groovy ScriptEngine
4514 [main] WARN org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor - Could not initialize gremlin-groovy ScriptEngine with scripts/empty-sample.groovy as script could not be evaluated - javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: graph for class: Script1
4515 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Initialized GremlinExecutor and configured ScriptEngines.
4576 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4578 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo-stringd with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
4745 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4748 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
7802 [main] WARN io.netty.util.internal.ThreadLocalRandom - Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
7919 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 8 and boss thread pool of 1.
7919 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Channel started at port 8182.
9244 [gremlin-server-shutdown] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Shutting down thread pools.
11452 [gremlin-server-stop] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server - shutdown complete
storage.backend=cassandrathrift
storage.hostname=localhost
index.search.backend=elasticsearch
index.search.hostname=localhost
index.search.elasticsearch.client-only=trueHey Stephen!
├─11154 /usr/bin/java -Xms256m -Xmx1g</
storage.backend=cassandrathrift
storage.hostname=localhost
index.search.backend=elasticsearch
index.search.hostname=localhost
index.search.elasticsearch.client-only=truestorage.directory=/tmp/graph
Sorry, I missed out an important chunk of that log information. Here it goes:
1755 [main] WARN org.apache.tinkerpop.gremlin.server.GremlinServer - Graph [graph] configured at [conf/gremlin-server/custom-titan-config.properties] could not be instantiated and will not be available in Gremlin Server. GraphFactory message: Configuration must contain a valid 'gremlin.graph' setting
java.lang.RuntimeException: Configuration must contain a valid 'gremlin.graph' setting
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:57)
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50)
at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:671)
at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48)
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88)
at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290)
1761 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-*
2825 [main] INFO org.apache.tinkerpop.gremlin.groovy.engine.ScriptEngines - Loaded nashorn ScriptEngine
3428 [main] INFO org.apache.tinkerpop.gremlin.groovy.engine.ScriptEngines - Loaded gremlin-groovy ScriptEngine
4514 [main] WARN org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor - Could not initialize gremlin-groovy ScriptEngine with scripts/empty-sample.groovy as script could not be evaluated - javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: graph for class: Script1
4515 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Initialized GremlinExecutor and configured ScriptEngines.
4576 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4578 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo-stringd with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
4745 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0 - it will not be available. There is no graph named [graph] configured to be used in the useMapperFromGraph setting
4748 [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Could not instantiate configured serializer class<span st
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/43cb454c-2ce6-4071-b4c8-c07439deca86%40googlegroups.com.
Robert Dale
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/429dd02a-6f7d-4a22-9bef-d139eb8c5d65%40googlegroups.com.
7782 [main] INFO org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with graphtraversalsource[standardtitangraph[cassandrathrift:[localhost]], standard]
7859 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
7860 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+gryo-stringd with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
8072 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/vnd.gremlin-v1.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0
8073 [main] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0
8180 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 8 and boss thread pool of 1.
# Not connected to the server
8181 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Channel started at port 8182.
9348 [SIGTERM handler] INFO com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftStoreManager - Closed Thrift connection pooler.
9483 [gremlin-server-shutdown] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Shutting down thread pools.
11701 [gremlin-server-stop] WARN com.thinkaurelius.titan.graphdb.database.StandardTitanGraph - Failed to remove shutdown hook
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
at java.lang.Runtime.removeShutdownHook(Runtime.java:239)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.removeHook(StandardTitanGraph.java:241)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.close(StandardTitanGraph.java:175)
at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$null$7(GremlinServer.java:256)
at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1597)
at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$stop$8(GremlinServer.java:253)
at java.lang.Thread.run(Thread.java:748)
11709 [gremlin-server-stop] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Closed Graph instance [graph]
11710 [gremlin-server-stop] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server - shutdown complete
8521 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Channel started at port 8182.
. OK (connected to 127.0.0.1:8182).
Run gremlin.sh to connect.
> 7942 [main] WARN io.netty.util.internal.ThreadLocalRandom - Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
8521 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer - Channel started at port 8182.
. OK (connected to 127.0.0.1:8182).
Run gremlin.sh to connect.
8521 [gremlin-server-boss-1] INFO org.apache.tinkerpop.gremlin.server.GremlinServer <span style="color: #660;" class="styled
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/0f28ab47-b233-4cf0-b591-3e44636a058e%40googlegroups.com.
[Unit]
Description=The Titan database
After=network.target
[Service]
Type=forking
User=sammy
Group=www-data
Environment="PATH=/home/sammy/titan-1.0.0-hadoop1/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
WorkingDirectory=/home/sammy/titan-1.0.0-hadoop1/
ExecStart=/home/sammy/titan-1.0.0-hadoop1/bin/titan.sh start
ExecStop=/home/sammy/titan-1.0.0-hadoop1/bin/titan.sh stop
[Install]
WantedBy=multi-user.target
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.