Gremlin Console – Auto-connect to remote Neptune graph?

374 views
Skip to first unread message

David Welch

unread,
Dec 29, 2017, 10:00:59 AM12/29/17
to Gremlin-users
Hey all, new to the space and trying to optimize my workflow a bit. We're using AWS Neptune so I'd like to script my connection with the Gremlin Console (through a localhost tunnel) to a single command, but can't seem to feed the :remote connect tinkerpop.server conf/neptune-remote.yaml and :remote console commands to gemlin.sh on my Mac. Is there an easy way anyone can think of to have Neptune's implicit graph ready immediately (assuming my connection is there)? 

I had previously been running a Hadoop + Cassandra JanusGraph in docker and connecting to that, which made things easy as I could use conf/gremlin-server.yaml but I haven't been able to find the equivalent just using gremlin-console (3.3.0)

Any advice would be appreciated. Thanks! 

Stephen Mallette

unread,
Dec 29, 2017, 11:52:14 AM12/29/17
to Gremlin-users
You can use an initializaiton script for the console:


--
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/03a46349-3a11-4318-bbe4-98d0115a29ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Welch

unread,
Dec 30, 2017, 12:52:22 AM12/30/17
to Gremlin-users
Ah, eureka! Neptune's had a few differences from Janus so it's been nice to just alias this and work against it directly. Thanks! 


On Friday, December 29, 2017 at 9:52:14 AM UTC-7, Stephen Mallette wrote:
You can use an initializaiton script for the console:

On Fri, Dec 29, 2017 at 10:00 AM, David Welch <da...@7oaksgroup.com> wrote:
Hey all, new to the space and trying to optimize my workflow a bit. We're using AWS Neptune so I'd like to script my connection with the Gremlin Console (through a localhost tunnel) to a single command, but can't seem to feed the :remote connect tinkerpop.server conf/neptune-remote.yaml and :remote console commands to gemlin.sh on my Mac. Is there an easy way anyone can think of to have Neptune's implicit graph ready immediately (assuming my connection is there)? 

I had previously been running a Hadoop + Cassandra JanusGraph in docker and connecting to that, which made things easy as I could use conf/gremlin-server.yaml but I haven't been able to find the equivalent just using gremlin-console (3.3.0)

Any advice would be appreciated. Thanks! 

--
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-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages