Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually install a one-node cluster: NetUtil ambari-server:8440 SSL heartbeat error #15

Open
BaranOrnarli opened this issue Jul 24, 2017 · 1 comment

Comments

@BaranOrnarli
Copy link

BaranOrnarli commented Jul 24, 2017

If you manually install your stack and create your own blueprint. Sometimes the heartbeat comes by and the ambari-server gives off an error about SSL and NetUtil.java and unable to connec to ambari-server:8440.

dn0.dev_1 | WARNING 2017-07-24 16:46:42,591 NetUtil.py:101 - Failed to connect to https://ambari-server.dev:8440/ca due to [Errno 111] Connection
refused
dn0.dev_1 | WARNING 2017-07-24 16:46:42,591 NetUtil.py:124 - Server at https://ambari-server.dev:8440 is not reachable, sleeping for 10 seconds...

dn0.dev_1 | INFO 2017-07-24 16:46:52,591 NetUtil.py:70 - Connecting to https://ambari-server.dev:8440/ca
dn0.dev_1 | WARNING 2017-07-24 16:46:52,593 NetUtil.py:101 - Failed to connect to https://ambari-server.dev:8440/ca due to [Errno 111] Connection
refused
dn0.dev_1 | WARNING 2017-07-24 16:46:52,593 NetUtil.py:124 - Server at https://ambari-server.dev:8440 is not reachable, sleeping for 10 seconds...

Solution I came up with (temporary, need a permanent solution):

docker exec -i -t <containerID> /bin/bash
export JAVA_HOME=/usr/jdk64/jdk_1.8_version_number

That "version_number" should be whatever you find under /usr/jdk64. So please make sure to enter it exactly like jdk_1.8_0112 or whatever.

If you don't have that in that path, Then do:

yum search jdk

find the openjdk1.8 and do yum install openjdk1.8.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant