I'm working with Gremlin.Net & Neptune and once a while some of the requests fail without much information in the error message (InternalFailureException).
I want to try and send the request through curl to the server's "/gremlin/explain" URL to get more information.
Since I build the request with the GraphTraversal class (and it is very long), I'm looking for a way to get the equivalent gremlin commands as the request which was sent.
Is there any easy way to get it?
Are there any other ways to understand why Neptune failed the request?
Getting request data with Gremlin.Net
419 Views Asked by Avner Levy At
1
There are 1 best solutions below
Related Questions in GREMLIN
- How to parameterize the sort filter using tinkerpop gremlin / frames?
- Create a vertex with Label in Gremlin
- How to efficiently create a vertex with a label and several properties?
- gremlin outputs different from as seen on the internet, I think in bytes
- Faunus json reader error in json file format
- Why parsing Gremlin query in Java isn't generic?
- Chaining Asynchronous Callback Nodejs
- How to get tuples in gremlin?
- Unable to install gremlin-neo4j through gremlin shell
- Loading data into Titan with bulbs and then accessing it
- How can I collect property values while traversing a graph with gremlin in Java?
- Compare sequential edge properties in TRAVERSE
- Disable tab to display console commands in the Gremlin console
- how to query by vertex id in Datastax DSE 5.0 Graph in a concise way?
- how to return specific vertex in traversal that is creating two vertices connected by edge (DSE 5.0 Graph)
Related Questions in AMAZON-NEPTUNE
- Gremlin, get two vertices that both have an edge to each other
- Extract Only Values as csv format in gremlin
- Amazon Neptune full text search query not working as expected
- Gremlin: ConcurrentModificationException and multithreading
- Gremlin: OLAP vs dividing query
- gremlin id column extraction - GLUE
- Add Additional Property to Neptune DB
- How to do MERGE method like cypher in gremlin
- Update a vertex and a all its child vertexes and edges
- Getting nested object under path is not of nested type in elasticsearch query
- AWS Neptune workbench visualisation
- unable to connect to neptune database instance from tinkerpop
- Gremlin (Neptune) somewhat complex query doesn't show edges properties
- Running into uvloop issues with Database queries from Rasa-X?
- Gremlin equivalent of an opencypher query
Related Questions in GREMLINNET
- Tinkerpop Gremlin Query: Find all edges pointing back to a vertex in the current path
- Why is my gremlin.net gremlin client not working with azure cosmos graph db
- Create Vertex only if "from" and "to" vertex exists
- gremlin.net how to create vertex/edge with id
- Why CommitAsync does not complete in Gremlin .NET Transactions
- BulkExecution in Azure CosmosDB for ASP.Net MVC 4.7.2 version
- Connecting to AWS Neptune with Gremlin.net from a local windows machine
- Exception on Limit() with Gremlin.Net
- How to update/add vertex properties in gremlin.net
- Gremlin.NET deserialize number property
- cosmos gremline cross container mapping
- P.Within method in Gremlin.net does not translate the array correctly
- Gremlin.Net: Message with op code [close] is not recognized
- Getting request data with Gremlin.Net
- Connect neo4j from .net using gremlin.net
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I assume you would like to get a String representation of your query so that you can POST it to the
/gremlin/explainAPI. With Java and Javascript it's possible to do such a thing fairly directly with TinkerPop'sTranslatorfunctions described here. Of course, for .NET and Python such things don't exist yet.Since your situation sounds like you just need a one-off solution to do some analysis with "explain" you could get the GraphSON representation of the bytecode in .NET, use Gremlin Console's
:bytecodecommand to convert it to aStringrepresentation.So, first get the
Bytecodeobject as GraphSON:Copy/paste that "graphSON" string into Gremlin Console:
Note that I use a TinkerGraph there just as a host to reconstruct the traversal.