janusgraph-dotnet | JanusGraph .NET Gremlin Language Variant | Graph Database library
kandi X-RAY | janusgraph-dotnet Summary
kandi X-RAY | janusgraph-dotnet Summary
JanusGraph.Net is the .NET driver of JanusGraph. It extends Apache TinkerPop's Gremlin.Net as its core dependency with additional support for JanusGraph-specific types.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of janusgraph-dotnet
janusgraph-dotnet Key Features
janusgraph-dotnet Examples and Code Snippets
Community Discussions
Trending Discussions on janusgraph-dotnet
QUESTION
Can someone help me to understand why I don't see the graph from JanusGraph.Net client?
I'm running the latest Docker image for JanusGraph from Docker Hub. After connecting to the JanusGraph using the built-in console I created a sample Graph of the Gods and was able to query it using the following commands:
...ANSWER
Answered 2020-May-18 at 15:38OK, it was not very obvious, but JanusGraph Docker image is pre-configured to use BerkeleyDB by default (BTW according to the documentation it should be Cassandra). I found it taking a look at the Gremlin Server logs. Gremlin Server is configured to use /etc/opt/janusgraph/janusgraph.properties
on startup. This file contains a completely different configuration for BerkeleyDB than, for example, conf/janusgraph-berkeleyje.properties
- different folders, etc. That is why my .NET application hasn't seen any data - it was connected (through Gremlin Server) to the different BerkeleyDB database.
I also wasn't able to load this file to the Gremlin console via graph = JanusGraphFactory.open('/etc/opt/janusgraph/janusgraph.properties')
- got access issues. After I copied this file to the conf
directory (and changed the access rights) - I got another error: Could not instantiate implementation: org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager
probably because the BerkeleyDB already exists.
So the only way I've figured out how to connect to the existing database via the Gremlin Console is to use the :remote connect
command. I was able to load a sample "Graph of the Gods" database and later access it from my .NET application using the following commands:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install janusgraph-dotnet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page