How to install Janus Graph

1,254 views
Skip to first unread message

prashanth....@ggktech.com

unread,
Aug 6, 2018, 5:47:06 PM8/6/18
to JanusGraph users
I am completely new to JanushGraph and any other Graph databases. I have gone through the Getting Started page of JanusGraph but I couldn't understand how to install. I downloaded  janusgraph-0.3.0-hadoop2.zip  file from releases page and unpacked. After that I don't know how to setup the server and User UI and all. Please help me

chris....@gmail.com

unread,
Aug 6, 2018, 10:04:02 PM8/6/18
to JanusGraph users
Hello,

You typically don't install JanusGraph like you would a normal software product. To get to the user command line interface you run ./bin/gremlin.sh from the root of the unzipped distribution. For the server you run ./bin/gremlin-server.sh. If it helps I wrote a getting started guide awhile back that talks about the different components and how to start up a server. You can find it here.

prashanth....@ggktech.com

unread,
Aug 7, 2018, 1:43:55 AM8/7/18
to JanusGraph users
Hi Chris,

Thank you for quick and detailed response. I have gone through your Getting started blog on high level and it is really Good and Informative. 
I need few clarifications.
1. Can't we run Janus Graph on Windows? I think yes just wanted to confirm
2. How many nodes in the cluster will be good enough to practice as it is distributed tool and give me the hardware system requirements
3. Do we need any other software apart from Cassandra (Or any backend storage). If yes please provide the list.
4. Instead of Command line do we any UI application to use the tool?

chris....@gmail.com

unread,
Aug 7, 2018, 3:04:46 AM8/7/18
to JanusGraph users
1. Yes you can run JanusGraph on windows. I haven't personally run it on windows and the only real advice I would have is make sure you're running java 8.
2. If you choose Cassandra as your backend you should run at least 3 nodes. If you choose to use elasticsearch to enable mixed indexes you should also run at least a 3 node cluster. The hardware requirements really depend on your use case. I'm able to run a functional cluster in docker containers locally on my macbook pro for small datasets. You'll need to scale your backend infrastructure accordingly with your data. If you have a lot of concurrent requests you'll need to run multiple instances of JanusGraph to spread out the load. 
3. The storage backend is all you absolutely need. Depending on your use case you may want to also run a mixed index backend like elasticsearch, lucene, or solr. 
4. To the best of my knowledge currently there is no GUI for JanusGraph. The majority of operations can be handled with the gremlin console CLI. Some advanced operations, like bulk loading data to a remote instance, may require writing a standalone application. 

Once you get JanusGraph up and running and import your data something else to be aware of is that to really use JanusGraph well you need to look at the Tinkerpop documentation as well. The JanusGraph docs do cover a lot of the same info on traversal steps, but aren't complete on their own. 

Let me know if you have anymore questions and I'll do my best to help answer them.

Graham Wallis

unread,
Aug 7, 2018, 3:57:34 AM8/7/18
to JanusGraph users
I agree with all of Chris's observations. I have run JanusGraph on Windows and it runs fine.

If you are just getting started and want to experiment, you can use JanusGraph without needing to do any separate provisioning of a backend for persistence - just create a TinkerGraph and run it in memory.

The gremlin console is a very good way to learn about graphs and gremlin. As Chris says, the Tinkerpop documentation is essential - make sure you are looking at the latest version. In addition Kelvin Lawrence wrote an excellent (and free) online book on Practical Gremlin - which you can access here: http://www.kelvinlawrence.net/book/Gremlin-Graph-Guide.pdf

Best regards,
 Graham

Graham Wallis
IBM Analytics
Internet: graham...@uk.ibm.com        
IBM Laboratories, Hursley Park, Hursley, Hampshire SO21 2JN
Tel: +44 7741 379735

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
janusgraph-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/janusgraph-users/7615d176-0f33-48f2-9c0c-f1f03e65bef0%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

prashanth....@ggktech.com

unread,
Aug 16, 2018, 5:14:31 AM8/16/18
to JanusGraph users

Hi,


I have extracted the latest version of JanusGraph to my windows machine and  ran gremlin.bat from bin folder. It opened the Gremlin console but I couldn't run any gremlin commands. It is giving error like "Expecting EOF, found 'help' @line 2....."
Please help me how can I resolve it and proceed t opractice Gremlin

Jason Plurad

unread,
Aug 17, 2018, 3:04:00 PM8/17/18
to JanusGraph users
Could you provide a gist or screenshots of your Gremlin Console session?
Also, you could try downloading the Apache TinkerPop 3.3.3 Gremlin Console and see if that works for you?
Reply all
Reply to author
Forward
0 new messages