<?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: Heartbeat works, but when I start services I get &amp;quot;'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286705#M212595</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71653"&gt;@alialghamdi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your issue is being generated by the python script&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;see line&amp;nbsp; 38 "&lt;STRONG&gt;host_level_params_cache = self.host_level_params_cache[cluster_id&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution 1&amp;nbsp;on node 6&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Delete the tmp files to empty the cache on node 6 after stopping the ambari-agent&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # ambari-agent stop&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # rm -rf /var/lib/ambari-agent/*&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Then restart the ambari-agent on host 6&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # ambari-agent start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution 2&amp;nbsp; on node 6&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;node6 #&amp;nbsp;ambari-agent stop&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;yum erase ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/lib/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/run/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /usr/lib/amrbari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /etc/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/log/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /usr/lib/python2.6/site-packages/ambari*&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Re-install of Ambari Agent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;yum install ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# Change hostname to point to the Ambari Server&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;vi /etc/ambari-agent/conf/ambari-agent.ini&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Start the ambari-agent agent&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;# ambari-agent start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please revert&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jan 2020 12:16:54 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2020-01-01T12:16:54Z</dc:date>
    <item>
      <title>Heartbeat works, but when I start services I get "'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286679#M212582</link>
      <description>&lt;P&gt;So I have had this issue for a quite long time so far, and it's been really challenging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, on one of the servers (secondary namenode) of a 12 node development cluster, the heartbeat is being sent and received. The IDs of each heartbeat request are incremental, which I believe means it's working fine from ambari-agent aspect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have SNameNode, HiveServer and other services on that server, and whenever I try to start any of them I get this directly from Ambari UI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caught an exception while executing custom service command: &amp;lt;type 'exceptions.KeyError'&amp;gt;: 'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'; 'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not able to start no slave or master services on that server AT ALL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see anything in the logs to be honest that could point me to a direction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Few information of the environment:&lt;/P&gt;&lt;P&gt;1- Redhat 7.7 servers&lt;/P&gt;&lt;P&gt;2- Latest JDK 8 231&lt;/P&gt;&lt;P&gt;3- HDP 3.1.0.0 so Ambari 2.7.3.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 13:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286679#M212582</guid>
      <dc:creator>alialghamdi</dc:creator>
      <dc:date>2019-12-31T13:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Heartbeat works, but when I start services I get "'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286698#M212588</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71653"&gt;@alialghamdi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an idea, depending on your backend Ambari database please first do a backup. We are not going to do any changes yet but validate my suspicion&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DB backup&lt;BR /&gt;&lt;/STRONG&gt;Assuming you are on MySQL /MariaDB&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;mysqldump –u[user name] –p[password] [database name] &amp;gt; [dump file]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Check cluster state&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;select * from clusterstate;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value found above should be there in Stage table's "cluster_id" columns&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;select stage_id, request_id, cluster_id from stage;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Identify troublesome host&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;select host_id,host_name from hosts;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you got host id 3 for the troublesome host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;select cluster_id,component_name from hostcomponentdesiredstate where host_id=3;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;select cluster_id,component_name from hostcomponentstate where host_id=3;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;select cluster_id,service_name from hostconfigmapping where host_id=3;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share your output for all the above steps, please tokenize your hostname.domain&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 03:57:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286698#M212588</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-01T03:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Heartbeat works, but when I start services I get "'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286699#M212589</link>
      <description>&lt;P&gt;Thanks Shelton for answering,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a postgres database, I did the backup with pg_dump&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the queries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ambari=&amp;gt; select * from clusterstate;
 cluster_id | current_cluster_state | current_stack_id
------------+-----------------------+------------------
          2 |                       |              101
(1 row)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select stage_id, request_id, cluster_id from stage;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Most of the entries have cluster_id 2, but I see entries with cluster_id -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the host_id of the troublesome host is 6&lt;/P&gt;&lt;P&gt;(I just notice there are 13 hosts, while I have only 12. The 13th is basically host 6 but with a different extension, like if host 6 is host1.xyz the 13th is host1.xyz.com)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the remaining&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ambari=&amp;gt; select cluster_id,component_name from hostcomponentdesiredstate where host_id=6;
 cluster_id |     component_name
------------+-------------------------
          2 | ZOOKEEPER_SERVER
          2 | INFRA_SOLR
          2 | SPARK2_JOBHISTORYSERVER
          2 | LIVY2_SERVER
          2 | SPARK2_THRIFTSERVER
          2 | HDFS_CLIENT
          2 | LOGSEARCH_LOGFEEDER
          2 | SECONDARY_NAMENODE
          2 | HIVE_METASTORE
          2 | HIVE_CLIENT
          2 | HIVE_SERVER
          2 | METRICS_MONITOR
          2 | PIG
          2 | ZOOKEEPER_CLIENT
          2 | INFRA_SOLR_CLIENT
          2 | SQOOP
          2 | RANGER_ADMIN
          2 | RANGER_KMS_SERVER
          2 | SPARK2_CLIENT
          2 | RANGER_USERSYNC
          2 | HBASE_CLIENT
          2 | YARN_CLIENT
          2 | TEZ_CLIENT
          2 | MAPREDUCE2_CLIENT
(24 rows)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ambari=&amp;gt; select cluster_id,component_name from hostcomponentstate where host_id=6;
 cluster_id |     component_name
------------+-------------------------
          2 | YARN_CLIENT
          2 | LOGSEARCH_LOGFEEDER
          2 | SECONDARY_NAMENODE
          2 | INFRA_SOLR
          2 | HIVE_SERVER
          2 | HIVE_METASTORE
          2 | RANGER_USERSYNC
          2 | HBASE_CLIENT
          2 | ZOOKEEPER_SERVER
          2 | RANGER_ADMIN
          2 | SPARK2_THRIFTSERVER
          2 | HDFS_CLIENT
          2 | LIVY2_SERVER
          2 | SPARK2_JOBHISTORYSERVER
          2 | RANGER_KMS_SERVER
          2 | MAPREDUCE2_CLIENT
          2 | TEZ_CLIENT
          2 | PIG
          2 | HIVE_CLIENT
          2 | ZOOKEEPER_CLIENT
          2 | METRICS_MONITOR
          2 | INFRA_SOLR_CLIENT
          2 | SPARK2_CLIENT
          2 | SQOOP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ambari=&amp;gt; select cluster_id,service_name from hostconfigmapping where host_id=6;
 cluster_id | service_name
------------+--------------
(0 rows)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the above, I checked all my host_ids none of them have any rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 04:33:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286699#M212589</guid>
      <dc:creator>alialghamdi</dc:creator>
      <dc:date>2020-01-01T04:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Heartbeat works, but when I start services I get "'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286705#M212595</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71653"&gt;@alialghamdi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your issue is being generated by the python script&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;see line&amp;nbsp; 38 "&lt;STRONG&gt;host_level_params_cache = self.host_level_params_cache[cluster_id&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution 1&amp;nbsp;on node 6&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Delete the tmp files to empty the cache on node 6 after stopping the ambari-agent&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # ambari-agent stop&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # rm -rf /var/lib/ambari-agent/*&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Then restart the ambari-agent on host 6&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;node6 # ambari-agent start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution 2&amp;nbsp; on node 6&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;node6 #&amp;nbsp;ambari-agent stop&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;yum erase ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/lib/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/run/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /usr/lib/amrbari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /etc/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /var/log/ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;rm -rf /usr/lib/python2.6/site-packages/ambari*&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Re-install of Ambari Agent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;yum install ambari-agent&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# Change hostname to point to the Ambari Server&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;vi /etc/ambari-agent/conf/ambari-agent.ini&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Start the ambari-agent agent&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;# ambari-agent start&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please revert&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 12:16:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286705#M212595</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-01T12:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Heartbeat works, but when I start services I get "'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286882#M212721</link>
      <description>&lt;P&gt;I'm sorry for not answering earlier, only now got access to the environment again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I did solution one, and the agent worked, but it went down in a while which I couldn't realize why, the logs didn't say anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when it was up, I tried to start services there through Ambari, and it looks like it doesn't initiate a request, since there are no logs about the start action of that service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I thought let's clean everything and start from fresh, deleted ambari-agent, cleaned all folders as mentioned and installed it again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same issue is there when I try to start services,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example this is the log of ambari-agent when I tried to start the SNameNode, which is hosted on the problematic node.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INFO 2020-01-06 07:35:39,472 __init__.py:82 - Event from server at /user/commands: {u'clusters': {u'2': {u'commands': [{u'commandParams': '...', u'clusterId': u'2', u'clusterName': u'dev', u'commandType': u'EXECUTION_COMMAND', u'roleCommand': u'START', u'serviceName': u'HDFS', u'role': u'SECONDARY_NAMENODE', u'requestId': 424, u'taskId': 7353, u'repositoryFile': '...', u'componentVersionMap': {u'HDFS': {u'SECONDARY_NAMENODE': u'3.1.0.0-78', u'JOURNALNODE': u'3.1.0.0-78', u'HDFS_CLIENT': u'3.1.0.0-78', u'DATANODE': u'3.1.0.0-78', u'NAMENODE': u'3.1.0.0-78', u'NFS_GATEWAY': u'3.1.0.0-78', u'ZKFC': u'3.1.0.0-78'}, u'ZOOKEEPER': {u'ZOOKEEPER_SERVER': u'3.1.0.0-78', u'ZOOKEEPER_CLIENT': u'3.1.0.0-78'}, u'SPARK2': {u'SPARK2_THRIFTSERVER': u'3.1.0.0-78', u'SPARK2_CLIENT': u'3.1.0.0-78', u'LIVY2_SERVER': u'3.1.0.0-78', u'SPARK2_JOBHISTORYSERVER': u'3.1.0.0-78'}, u'SQOOP': {u'SQOOP': u'3.1.0.0-78'}, u'HIVE': {u'HIVE_SERVER': u'3.1.0.0-78', u'HIVE_METASTORE': u'3.1.0.0-78', u'HIVE_SERVER_INTERACTIVE': u'3.1.0.0-78', u'HIVE_CLIENT': u'3.1.0.0-78'}, u'YARN': {u'YARN_REGISTRY_DNS': u'3.1.0.0-78', u'RESOURCEMANAGER': u'3.1.0.0-78', u'YARN_CLIENT': u'3.1.0.0-78', u'TIMELINE_READER': u'3.1.0.0-78', u'APP_TIMELINE_SERVER': u'3.1.0.0-78', u'NODEMANAGER': u'3.1.0.0-78'}, u'PIG': {u'PIG': u'3.1.0.0-78'}, u'RANGER': {u'RANGER_TAGSYNC': u'3.1.0.0-78', u'RANGER_ADMIN': u'3.1.0.0-78', u'RANGER_USERSYNC': u'3.1.0.0-78'}, u'TEZ': {u'TEZ_CLIENT': u'3.1.0.0-78'}, u'MAPREDUCE2': {u'MAPREDUCE2_CLIENT': u'3.1.0.0-78', u'HISTORYSERVER': u'3.1.0.0-78'}, u'ZEPPELIN': {u'ZEPPELIN_MASTER': u'3.1.0.0-78'}, u'HBASE': {u'HBASE_MASTER': u'3.1.0.0-78', u'PHOENIX_QUERY_SERVER': u'3.1.0.0-78', u'HBASE_CLIENT': u'3.1.0.0-78', u'HBASE_REGIONSERVER': u'3.1.0.0-78'}, u'KAFKA': {u'KAFKA_BROKER': u'3.1.0.0-78'}, u'KNOX': {u'KNOX_GATEWAY': u'3.1.0.0-78'}, u'RANGER_KMS': {u'RANGER_KMS_SERVER': u'3.1.0.0-78'}}, u'commandId': u'424-0'}]}}, u'requiredConfigTimestamp': 1578284883431}
INFO 2020-01-06 07:35:39,473 ActionQueue.py:79 - Adding EXECUTION_COMMAND for role SECONDARY_NAMENODE for service HDFS of cluster_id 2 to the queue
INFO 2020-01-06 07:35:39,473 security.py:135 - Event to server at /reports/responses (correlation_id=66): {'status': 'OK', 'messageId': '2'}
INFO 2020-01-06 07:35:39,475 __init__.py:82 - Event from server at /user/ (correlation_id=66): {u'status': u'OK'}
INFO 2020-01-06 07:35:40,595 security.py:135 - Event to server at /heartbeat (correlation_id=67): {'id': 44}
INFO 2020-01-06 07:35:40,597 __init__.py:82 - Event from server at /user/ (correlation_id=67): {u'status': u'OK', u'id': 45}
INFO 2020-01-06 07:35:42,317 ComponentStatusExecutor.py:107 - Skipping status command for INFRA_SOLR. Since command for it is running&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, there are no logs under /var/log/hadoop/hdfs which makes me think that ambari-agent on the problematic node didn't actually initiate the call.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to mark your answer as acceptable since it has solved the issue I originally talked about, do you think I should create a new post for this?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 04:40:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Heartbeat-works-but-when-I-start-services-I-get-quot-Host/m-p/286882#M212721</guid>
      <dc:creator>alialghamdi</dc:creator>
      <dc:date>2020-01-06T04:40:45Z</dc:date>
    </item>
  </channel>
</rss>

