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.

Error while creating an Ansible based HDF cluster - Cluster Id couldn't be retrieved and Unable to find stack configuration cluster-env in ambari configs!

Error while creating an Ansible based HDF cluster - Cluster Id couldn't be retrieved and Unable to find stack configuration cluster-env in ambari configs!

New Contributor

Need help. There is no documentation on these kinds of errors.

The ansible stack passed successfully but the logs spit out few errors.

blueprint_dynamic:

- host_group: "AMBARI_SERVER" clients: ['ZOOKEEPER_CLIENT', 'INFRA_SOLR_CLIENT'] services: - AMBARI_SERVER - INFRA_SOLR - NIFI_REGISTRY_MASTER - DRPC_SERVER - RANGER_ADMIN - RANGER_USERSYNC - METRICS_COLLECTOR - METRICS_GRAFANA - METRICS_MONITOR - KNOX_GATEWAY - STORM_UI_SERVER - NIMBUS - host_group: "hdf-slave" clients: ['ZOOKEEPER_CLIENT', 'INFRA_SOLR_CLIENT'] services: - ZOOKEEPER_SERVER - NIFI_MASTER - METRICS_MONITOR - SUPERVISOR

Server Logs are:

cat /var/log/ambari-server/ambari-server.log | grep ERROR 2018-11-16 18:55:24,454 ERROR [pool-4-thread-1] ambari-event-bus:384 - Could not dispatch event: org.apache.ambari.server.events.listeners.hosts.HostUpdateListener@54336976 to public void org.apache.ambari.server.events.listeners.hosts.HostUpdateListener.onHostStateUpdate(org.apache.ambari.server.events.HostStateUpdateEvent) throws org.apache.ambari.server.AmbariException 2018-11-16 18:55:24,454 ERROR [pool-4-thread-1] ambari-event-bus:384 - Could not dispatch event: org.apache.ambari.server.events.listeners.hosts.HostUpdateListener@54336976 to public void org.apache.ambari.server.events.listeners.hosts.HostUpdateListener.onHostStateUpdate(org.apache.ambari.server.events.HostStateUpdateEvent) throws org.apache.ambari.server.AmbariException 2018-11-16 18:55:24,455 ERROR [pool-4-thread-1] ambari-event-bus:384 - Could not dispatch event: org.apache.ambari.server.events.listeners.hosts.HostUpdateListener@54336976 to public void org.apache.ambari.server.events.listeners.hosts.HostUpdateListener.onHostStateUpdate(org.apache.ambari.server.events.HostStateUpdateEvent) throws org.apache.ambari.server.AmbariException 2018-11-16 18:56:18,101 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 18:56:18,887 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 18:56:19,517 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 19:00:39,179 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 19:00:40,261 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 19:00:41,231 ERROR [ambari-client-thread-44] AbstractPropertyProvider:175 - Cluster Id couldn't be retrieved. 2018-11-16 19:00:56,797 ERROR [ambari-client-thread-44] ConfigHelper:930 - Unable to find stack configuration cluster-env in ambari configs! 2018-11-16 19:00:56,824 ERROR [ambari-client-thread-44] ConfigHelper:930 - Unable to find stack configuration cluster-env in ambari configs! 2018-11-16 19:01:00,157 ERROR [ambari-client-thread-44] ClusterImpl:2012 - No service found for config types '[cluster-env]', service config version not created 2018-11-16 19:01:01,660 ERROR [pool-35-thread-1] ClusterImpl:2012 - No service found for config types '[cluster-env]', service config version not created

2 REPLIES 2

Re: Error while creating an Ansible based HDF cluster - Cluster Id couldn't be retrieved and Unable to find stack configuration cluster-env in ambari configs!

New Contributor

Hey, how did you get rid of this, eventually?

Re: Error while creating an Ansible based HDF cluster - Cluster Id couldn't be retrieved and Unable to find stack configuration cluster-env in ambari configs!

New Contributor

Raja Tejas,

I am also facing the same issue. Any clue how you got rid of this?

Thanks,

Raghu

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