question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

connect to local JanusGraph 0.3.2

See original GitHub issue

Hey! I’m trying to connect my janusgraph DB as a datasource, but this did not work.

version: '2'
services:
  arcadeanalytics-app:
    image: arcadeanalytics/arcadeanalytics:1.0.3
    environment:
      - SPRING_PROFILES_ACTIVE=prod,swagger
      - SPRING_DATASOURCE_URL=jdbc:postgresql://arcadeanalytics-postgresql:5432/arcadeanalytics
      - SPRING_DATA_ELASTICSEARCH_CLUSTER_NODES=arcadeanalytics-elasticsearch:9300
      - SPRING_EMAIL_HOST=smtp.gmail.com
      - SPRING_EMAIL_PORT=587
      - SPRING_EMAIL_USERNAME=
      - SPRING_EMAIL_PASSWORD=
      - JHIPSTER_SLEEP=10 # gives time for the database to boot before the application
      - JHIPSTER_MAIL_FROM=
      - JHIPSTER_MAIL_BASE-URL=
      - APPLICATION_PATH=/arcade
      - APPLICATION_MEDIAPATH=/content/media/
      - APPLICATION_STORAGE_PATH=/arcade/storage
      - APPLICATION_CONNECTORSPATH=/arcade-connectors
      - JAVA_OPTS=-DSSH_PRIV_KEY=/arcade/.ssh/id_rsa -DSSH_PUB_KEY=/arcade/.ssh/id_rsa.pub
    ports:
      - 8098:8080
    volumes:
      - ~/.arcade/:/arcade/
  arcadeanalytics-postgresql:
    image: postgres:9
    ports:
      - 5452:5432
    volumes:
      - ~/.arcade/arcadeanalytics/postgresql/:/var/lib/postgresql/data/
    environment:
      - POSTGRES_USER=arcadeanalytics
      - POSTGRES_PASSWORD=
  arcadeanalytics-elasticsearch:
    image: elasticsearch:2.4.6
    volumes:
      - ~/.arcade/arcadeanalytics/elasticsearch/:/usr/share/elasticsearch/data/
    environment:
      - "ES_JAVA_OPTS=-Xms4g -Xmx4g"
    ports:
      - 19200:9200
      - 19300:9300
  arcadeanalytics-janusgraph:
    extends:
      file: janusgraph.yml
      service: arcadeanalytics-janusgraph


Any suggestions? Thanks for the help!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
arcade-playercommented, Nov 11, 2019

Our mistake. The JanusGraph docker image doesn’t have any data inside. We use that image in our tests loading one of the dataset provided with janus distributuon:

https://github.com/ArcadeAnalytics/arcade-connectors/blob/c95890b391fdfa9b9d4238864b1adf5b8ab5d727/gremlin/src/test/kotlin/com/arcadeanalytics/provider/gremlin/janusgraph/JanusgraphTestHelper.kt#L58

We are working toimprove our docker image with dataset preloaded.

0reactions
theZikicommented, Dec 3, 2019

Oh,I’ve solved the problem. because of my janus config . scripts/empty-sample.groovy is not g

Arcade Analytics is a good tool , Thank you for your contribution. 👍

Hi what was your problem? I also have the same problem, but I can’t connect to my locally runing JanusGrapsh server, not as docker image.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - JanusGraph Docs
Connect to Cassandra on localhost using a default configuration graph ... JanusGraph distinguishes between local and global configuration options.
Read more >
janusgraph : 0.3.2 - Maven Central Repository Search
JanusGraph is a distributed graph database optimized for processing massive-scale graphs represented over a machine cluster. JanusGraph separates the ...
Read more >
janusgraph/janusgraph - Gitter
@porunov I have upgraded janusgraph from 0.2.0 to 0.3.2 still it gives the ... (I am trying to connect to existing hbase graph...
Read more >
how to use yarn for running OLAP in janusgraph
maybe it is caused by version match, se the document here I deploy the spark 2.0.2 together with janusgraph 0.3.2, and it always...
Read more >
A Graph Data System Powered by ScyllaDB and JanusGraph
Running a Gremlin Console to connect to the new server (also in Docker); Spinning up a three-node Scylla Cluster and setting it as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found