janusgraph-docker | JanusGraph Docker images | Continuous Deployment library
kandi X-RAY | janusgraph-docker Summary
kandi X-RAY | janusgraph-docker Summary
This repository contains build scripts and configuration files for the official JanusGraph Docker images, which are published on the Docker Hub. Note: even though the examples below and in the Docker Compose config files (*.yml) use the latest image, when running a service in production, be sure to specify a specific numeric version to avoid unexpected behavior changes due to latest pointing to a new release version, see our Docker tagging Policy.
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-docker
janusgraph-docker Key Features
janusgraph-docker Examples and Code Snippets
Community Discussions
Trending Discussions on janusgraph-docker
QUESTION
I have troubles connecting to the Cassandra cluster set up in Azure from the JanusGraph docker container. Here's how the compose file (modified docker-compose-cql-es) looks like:
...ANSWER
Answered 2021-Jun-23 at 08:30Tried to extract the public key with OpenSSL and it helped.
QUESTION
I want to run the janusgraph container ready with some data loaded at the time of initialisation.
I've checked the janusgraph docker documentation - https://github.com/JanusGraph/janusgraph-docker but didn't find any information around initialising the container pre loaded with data.
Is there any easy way to do this. I can write a groovy script or a java class to import the data, I just want to know how do I call this at the time of container creation so that once the container is ready it has the data pre-loaded in it.
...ANSWER
Answered 2021-Jan-05 at 14:15Maybe you missed that part of the docs but the README.md
contains a section Initialization that explains how to load data into JanusGraph when the container starts.
You just need to create a Groovy script (the file name needs to end on .groovy
) and put it into the /docker-entrypoint-initdb.d
which lets JanusGraph execute it when the container starts.
A quick example that is taken directly from that section looks like this:
- Create a Groovy script and name it
add-vertex-groovy
:
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-docker
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