Closed noahehall closed 7 months ago
I was able to get gremlin-server + gremlin-console running using your data files in docker compose.
I ended up having to comment the serializer stuff to get console to connect to the server for version 3.6.2
Thanks for the report. scriptEvaluationTimeout
was deprecated in favor of evaluationTimeout
but for a long time both worked. It looks like the prior form was fully removed in the 3.5.0 release. https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc#tinkerpop-350-release-date-may-3-2021
Work has started on a second edition. We'll fix up the YAML as part of that.
Work has started on a second edition. We'll fix up the YAML as part of that.
looking forward to it! your book is a lifesaver for ramping up on gremlin
With a few tweeks I was able to:
## in gremlin-console/conf/remote.yaml
## below needed to be commented
# serializer: {
# className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, # V{1,3}d0
# config: { serializeResultToString: true },
#
### log from gremlin-server
[INFO] Script1$_run_closure1 - Loading 'air-routes' graph data.
[INFO] o.a.t.g.s.GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
[INFO] o.a.t.g.s.GremlinServer - keepAliveInterval was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
[WARN] o.a.t.g.s.AbstractChannelizer - Could not find configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 - it will not be available
[WARN] o.a.t.g.s.AbstractChannelizer - Could not find configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 - it will not be available
[INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[INFO] o.a.t.g.s.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[WARN] o.a.t.g.s.AbstractChannelizer - Could not find configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 - it will not be available
[WARN] o.a.t.g.s.AbstractChannelizer - Could not find configured serializer class - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 - it will not be available
[INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[INFO] o.a.t.g.s.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[INFO] o.a.t.g.s.GremlinServer$1 - Gremlin Server configured with worker thread pool of 1, gremlin pool of 12 and boss thread pool of 1.
[INFO] o.a.t.g.s.GremlinServer$1 - Channel started at port 8182.
scriptEvaluationTimeout: 30000