Created on 12-01-2015 02:33 PM - edited 08-19-2019 05:45 AM
version: Ambari 1.7.0
Have anyone seen error below when trying to deploy a new cluster using ambari api.
30 Nov 2015 17:24:06,826 WARN [ambari-action-scheduler] ActionScheduler:200 - Exception received java.lang.RuntimeException: org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterName=clusterID=6 at org.apache.ambari.server.actionmanager.ExecutionCommandWrapper.getExecutionCommand(ExecutionCommandWrapper.java:116) at org.apache.ambari.server.actionmanager.ActionScheduler.isStageHasBackgroundCommandsOnly(ActionScheduler.java:428) at org.apache.ambari.server.actionmanager.ActionScheduler.filterParallelPerHostStages(ActionScheduler.java:416) at org.apache.ambari.server.actionmanager.ActionScheduler.doWork(ActionScheduler.java:246) at org.apache.ambari.server.actionmanager.ActionScheduler.run(ActionScheduler.java:195) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterName=clusterID=6 at org.apache.ambari.server.state.cluster.ClustersImpl.getClusterById(ClustersImpl.java:250) at org.apache.ambari.server.actionmanager.ExecutionCommandWrapper.getExecutionCommand(ExecutionCommandWrapper.java:74) ... 5 more 30 Nov 2015 17:24:09,931 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0233pl.redecorp.br 30 Nov 2015 17:24:09,931 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0234pl.redecorp.br 30 Nov 2015 17:24:09,932 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0232pl.redecorp.br 30 Nov 2015 17:24:09,932 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0237pl.redecorp.br 30 Nov 2015 17:24:09,932 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0235pl.redecorp.br 30 Nov 2015 17:24:09,932 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:146 - Heartbeat lost from host brtlvlts0236pl.redecorp.br 30 Nov 2015 17:24:13,274 ERROR [alert-event-bus-1] AmbariJpaLocalTxnInterceptor:114 - [DETAILED ERROR] Rollback reason:
If we log in ambari webui, cluster stuck with install pending:
Created 02-17-2016 11:50 AM
we moved to ambari 2.1.2 and issue never happened again.
Created 09-21-2017 06:00 PM
@Neeraj Sabharwal I am still facing the same issue, can you please help. Ambari version been used here is 2.2.2.0 with postgresql 9.2.18 on rhel 7. This happens to us most of the time. I have made sure that agents on all hosts are running and are pointing toward the ambari server, iptables, selinux are disabled. /etc/hosts are updated correctly. I am registering Ambari blueprint via API through Ansible and then cluster creation template also via API through Ansible in automated way. What could be the reason behind this?