Created on 05-30-2019 09:33 AM - edited 08-17-2019 03:14 PM
I ran the the command ambari-server setup, after which I select accordingly. I am prompt to select the java and selected custom JDK and enter the JAVA_HOME but I was shown the error below.
Created 05-30-2019 10:00 AM
That for sure is obvious means you yum repo could be a problem can you run this independently on that host?
$ sudo yum install java-1.8.0-openjdk-devel
You can use this command to locate your JAVA_HOME
$ java -XshowSettings:properties -version
Then use the JAVA_HOME when running your ambari-server setup!!
Created 05-30-2019 10:00 AM
That for sure is obvious means you yum repo could be a problem can you run this independently on that host?
$ sudo yum install java-1.8.0-openjdk-devel
You can use this command to locate your JAVA_HOME
$ java -XshowSettings:properties -version
Then use the JAVA_HOME when running your ambari-server setup!!
Created 06-01-2019 10:58 AM
Thanks it works, I use ambari-server setup -j JAVA_HOME.
Created 06-04-2019 04:00 AM
The above was originally posted in the Community Help Track. On Tue Jun 4 03:58 UTC 2019, a member of the HCC moderation staff moved it to the Cloud & Operations track. The Community Help Track is intended for questions about using the HCC site itself.