<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Null Pointer Exception in ambari-server logs after ambari-server restart - What could I do? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Null-Pointer-Exception-in-ambari-server-logs-after-ambari/m-p/230535#M192385</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17123/rafaelgomezg.html" nodeid="17123"&gt;@Rafael Gomez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally, we see that you are getting the following error:&lt;/P&gt;&lt;PRE&gt;Unable to connect to: &lt;A href="https://hadoop-m:8441/agent/v1/register/hadoop-m.c.hdp-1-163209.internal" target="_blank"&gt;https://hadoop-m:8441/agent/v1/register/hadoop-m.c.hdp-1-163209.internal&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;
Which indicates either you have not setup the Hostname for all your ambari agent hosts properly or they are not able to communicate to ambari server on the mentioned ports. So please check if from the ambari agent machines you are able to access the below mentioned port of ambari server?&lt;/P&gt;&lt;PRE&gt;# telnet  hadoop-m  8441
# telnet  hadoop-m  8440&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;
Also every host in the cluster should be configured with a proper FQDN/hostname so please check if you have the proper entry inside the /etc/hosts file inside every ambari agent machine. Also they should return proper FQDN when you run the following command on ambari-agent hosts:&lt;/P&gt;&lt;PRE&gt;# hostname -f&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also pleas echeck from ambari agent machine if you are able to connect to ambari server  using openssl command and able to see the certificate of ambari server?&lt;/P&gt;&lt;PRE&gt;# openssl s_client -connect hadoop-m:8440 -tls1_2
OR
# openssl s_client -connect hadoop-m:8440 
AND
# openssl s_client -connect hadoop-m:8441 -tls1_2
OR
# openssl s_client -connect hadoop-m:8441 
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 22:53:07 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-05-16T22:53:07Z</dc:date>
  </channel>
</rss>

