Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to install JanusGraph on Ambari?

Solved Go to solution

How to install JanusGraph on Ambari?

New Contributor

Can anyone tell me the way to install JanusGraph on Ambari. I tried the link https://github.com/JanusGraph/janusgraph-ambari but it didn't work out for me. I have Ubuntu 14.04 and Ambari 2.6 and have already installed Solr 6.6.2 on Ambari. Is there a way to make a connection between the two? Or, is there any other alternative to this (JanusGraph) which might run on Ambari with the same functionality?


Actually JanusGraph installed properly on Ambari using the link above. It also starts without any error, but then within 10 seconds it automatically closes. During the final check it says "can't connect to port 8182". What can be the fault in this case?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to install JanusGraph on Ambari?

New Contributor

I found the solution. So the link above really works - the installation was proper. I had to go through the logs /var/log/janusgraph . Found out a java error there. So I got to know that if you install java using Ambari's automatic install, it does not sets up the environment variable in your pc. So I followed these steps:-

Open /etc/environment in a text editor and add the following line:

JAVA_HOME="/usr/jdk64/jdk1.8.0_112/”

Use source to load the variable by running:-

source /etc/environment

Then restart JanusGraph. It works perfectly this time.

1 REPLY 1

Re: How to install JanusGraph on Ambari?

New Contributor

I found the solution. So the link above really works - the installation was proper. I had to go through the logs /var/log/janusgraph . Found out a java error there. So I got to know that if you install java using Ambari's automatic install, it does not sets up the environment variable in your pc. So I followed these steps:-

Open /etc/environment in a text editor and add the following line:

JAVA_HOME="/usr/jdk64/jdk1.8.0_112/”

Use source to load the variable by running:-

source /etc/environment

Then restart JanusGraph. It works perfectly this time.