Re: Question about Loading the Graph of the Gods Into JanusGraph


李博軒 <libox...@...>
 

Absolutely agree that "Graph of the Gods examples would be the first thing a new user would try yet it doesn't work out of the box”. I wonder why JanusGraph doesn't have a ‘conf/janusgraph-inmemory.properties’ and use that in the quick start example, so that users don’t need to worry about storage backend and index backen? Am I missing something?

One reason I can think of is that the in-memory backend was for testing purpose only. However, after https://github.com/JanusGraph/janusgraph/pull/1483, the in-memory backend should be production ready now.

Best,
Boxuan

On Feb 6, 2020, at 9:45 AM, Debasish Kanhar <d.k...@...> wrote:

Are you specifying the elastic search index connection properties in your berkey.properties file?
If you don't want to use ES and using this just for exploration purpose then you can use .loadWithoutMixedIndex(true). That should resolve your problem

On Thu, Feb 6, 2020, 2:22 AM Serge Prud'homme <serge.p...@...> wrote:
Old post but still relevant two years later. I expect try the Graph of the Gods examples would be the first thing a new user would try yet it doesn't work out of the box. Even when using the 

I tried this
graph = JanusGraphFactory.open('conf/janusgraph-berkeleyje.properties')
and I get this:
Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex

I'm running with the docker image: docker run --name janusgraph1 -it -p 8182:8182 janusgraph/janusgraph:latest
As suggested here: https://docs.janusgraph.org/getting-started/installation/

Thanks,

Le jeudi 21 décembre 2017 15:37:26 UTC-5, Keith Lohnes a écrit :
Lujila, 

This would be better addressed in the JanusGraph users list. https://groups.google.com/forum/#!forum/janusgraph-users

This issue can happen if you don't have elasticsearch running/configured properly. Try just running `graph = JanusGraphFactory.open('conf/janusgraph-berkeleyje.properties')`

You also shouldn't need to sudo to run JanusGraph. just run bin/gremlin.sh, though it may cause issues for you now if you don't since the BerkeleyDB directory was created with sudo privileges.

Cheers,
Keith

On Thu, Dec 21, 2017 at 11:19 AM Lujia Zhang <luk...@...> wrote:
Hi Team, so I'm new to JanusGraph and having trouble with following the getting started tutorial from JanusGraph website. 
First, when I open Gremlin Shell, it gives a lot of warnings, which is concerning. Also having issue with executing graph = JanusGraphFactory.open('conf/janusgraph-berkeleyje-es.properties')


Error trace is long, if needed, I can post more error traces.

Please help.



--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jan...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/8a9f2f33-390f-4cb4-a6a8-7e63fd41350a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgr...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/f06df5b4-1f53-452d-b3c9-1fbd68637963%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgr...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/CAMcT64Do2zF-rT19dh4%3Dkhp5wnKv9tdFcnSgFg7GsrgZsFLD%2Bw%40mail.gmail.com.

Join {janusgraph-dev@lists.lfaidata.foundation to automatically receive all group messages.