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.

No heartbeats on ambari server while serve is up and running.

Highlighted

No heartbeats on ambari server while serve is up and running.

Explorer

Hi

I am facing some issue in ambari host machines:

I have also tried to stop amari-server and restart it. I am getting this problem from yesterday, when i was running spark program and then i got some error: kernel:BUG: soft lockup - CPU#7 stuck for 62s! [java:3474]

I reboot my servers and restarted ambari but Ambari was showing no heartbeat for that server.

I am getting message: No heartbeats on ambari server for more than 3 minutes, even though my server is up and running.

Further details:

vintim-mbp:~ vintim$ ssh root@ttsv-lab-vmdb-01

[root@ttsv-lab-vmdb-01 ~]# curl -u admin:admin http://localhost:8080/api/v1/hosts
{
  "href" : "http://localhost:8080/api/v1/hosts",
  "items" : [
  {
  "href" : "http://localhost:8080/api/v1/hosts/ttsv-lab-vmdb-01.englab.juniper.net",
  "Hosts" : {
  "cluster_name" : "codecoverage",
  "host_name" : "ttsv-lab-vmdb-01.englab.juniper.net"
  }
  },
  {
  "href" : "http://localhost:8080/api/v1/hosts/ttsv-lab-vmdb-02.englab.juniper.net",
  "Hosts" : {
  "cluster_name" : "codecoverage",
  "host_name" : "ttsv-lab-vmdb-02.englab.juniper.net"
  }
  }
  ]
}
<strong>[root@ttsv-lab-vmdb-01 ~]# curl -u admin:admin http://localhost:8080/api/v1/clusters/codecoverage/hosts</strong>;
{
  "href" : "http://localhost:8080/api/v1/clusters/codecoverage/hosts",
  "items" : [
  {
  "href" : "http://localhost:8080/api/v1/clusters/codecoverage/hosts/ttsv-lab-vmdb-01.englab.juniper.net",
  "Hosts" : {
  "cluster_name" : "codecoverage",
  "host_name" : "ttsv-lab-vmdb-01.englab.juniper.net"
  }
  },
  {
  "href" : "http://localhost:8080/api/v1/clusters/codecoverage/hosts/ttsv-lab-vmdb-02.englab.juniper.net",
  "Hosts" : {
  "cluster_name" : "codecoverage",
  "host_name" : "ttsv-lab-vmdb-02.englab.juniper.net"
  }
  }
  ]
2 REPLIES 2
Highlighted

Re: No heartbeats on ambari server while serve is up and running.

Mentor

Please check your machines if they're starved for resources, also check status of agents

ambari-agent status
Highlighted

Re: No heartbeats on ambari server while serve is up and running.

Super Collaborator

i have got same issue when adding ipaddress in /etc/sysconfig/network-scripts/ifcfg-eth0 file.

Please verify the hostname resolution in server.

Don't have an account?
Coming from Hortonworks? Activate your account here