Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

rerigster failed in Comfirm Hosts

Explorer

I have met the pre-requisites including DNS, disabling selinux, disabling firewalld and so on.

Here's the mistake.

12145-2017-02-06-155844.png

Here's part of the log in UI

12147-2017-02-06-161110.png

Here's part of the ambari-agent.log

12146-2017-02-06-161003.png

I really have no idea what goes wrong and what causes this problem.

I hope someone who met the similar problem could give me a hand and I will appriciate it.

8 REPLIES 8

Super Mentor

@Amaing Li

Ambari agents usually tries to connect to the following ports of ambari server.

   8440 (Handshake Port for Ambari Agents to Ambari Server)
   8441 (Registration and Heartbeat Port for Ambari Agents to Ambari Server)

From your agent log it looks like the https://h2.hdp:8440/connection_info port communication is fine from the agent host to the server. But later it gets connection failed message when agent sends a registration to ambari on port 8441 (https://h2.hdp:8441/agent/v1/register/h2/hdp)

- So can you please check if there is any issue on port 8441 communication?

- Additionally from ambari agent machine can you please try running the following command to see if you are able to connect without any issue?

# openssl   s_client   -connect   h2.hdp:8441

.

We Also see a WARNING message in your log as following so please check the output of "ifconfig -s" command is returning results properly or not? There is an issue reported regarding that warning : https://issues.apache.org/jira/browse/AMBARI-19415 (should be addressed in Ambari 2.5) which might not be directly related to yur issue however would be best to check.

Facter.py:487 - Can't get a network interfaces list from

.

Explorer

12164-2017-02-06-165857.png

12163-2017-02-06-165912.png

Here's the result, is this right?

Explorer

I minimally installed the centos and I checked that there's no ifconfig command available.

Thank you very much!

Explorer

Thanks for you solution and I have solved the warning problem.

Super Mentor

@Amaing Li

When you see the error on on agent log ... do you notice any error / warning on the "/var/log/ambari-server/ambari-server.log" if yes then can you please share the complete stackTrace of the error ?

Explorer

I have looked through the ambari-agent.log file and just like you said

the problem may lay in

8441(RegistrationandHeartbeatPortforAmbariAgents to AmbariServer)

Do you know any reason that can cause this connection failure?

I have posted the result of the following command

openssl   s_client   -connect   h2.hdp:8441

But I don't understand it.

Explorer

@ Jay SenSharma I appreciate your advice. That's true, there is always a clue in the log but I often fogot to watch. By now I have not looked all the log file. I will look through the log entirely first to find the point that goes wrong.

@ Amaing

Try with openssl upgradation.