-
Notifications
You must be signed in to change notification settings - Fork 260
Where to store and how to load sample data on remote gremlin server #162
Copy link
Copy link
Open
Description
I've followed the steps Chapter 7. INTRODUCING GREMLIN SERVER on setting up the gremlin console on a remote server and connected to it with
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
==>Configured localhost/127.0.0.1:8182-[49767b47-89d7-4984-9a37-6eeb6d551be7]
gremlin> :remote console
==>All scripts will now be sent to Gremlin Server - [localhost/127.0.0.1:8182]-[49767b47-89d7-4984-9a37-6eeb6d551be7] - type ':remote console' to return to local mode
tried this resulted in file not found. How might I download the script to remote?
gremlin> :load load-air-routes-graph.groovy
tried this resulted in No such property: ToInputStream
gremlin> graph.io(IoCore.graphml()).reader().create().readGraph(ToInputStream.from("url", "https://github.com/krlawrence/graph/raw/master/sample-data/air-routes.graphml"), graph);
My current hurdle is I'm trying to figure out how to 1) download the data with the Gremlin console on remote, 2) retrieve it and load it into the graph.
Thanks for this great work @krlawrence
Reactions are currently unavailable