<?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: CM 7.13.1 Installation failed. Failed to receive heartbeat from agent. AvroTypeException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/401834#M251327</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123954"&gt;@AgustinG&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our Cloudera Manager experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31607"&gt;@paras&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28743"&gt;@Gopinath&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 09:57:21 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2025-02-11T09:57:21Z</dc:date>
    <item>
      <title>CM 7.13.1 Installation failed. Failed to receive heartbeat from agent. AvroTypeException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/401830#M251326</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I'm facing some issues trying to install CM 7.13.1 on Ubuntu containers (happens in both 22.04 and 20.04) using a Postgres &lt;STRIKE&gt;10&lt;/STRIKE&gt;&amp;nbsp;14 server running on its own container.&lt;BR /&gt;&lt;BR /&gt;The install of both CM server and CM agents work fine, but when I start the cluster creation it fails during the CM agents startup.&amp;nbsp;The following error is reported in the agent logs (cloudera-scm-agent.log):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[11/Feb/2025 09:32:33 +0000] 8471 MainThread agent        ERROR    Heartbeating to node-1.cluster:7182 failed.
Traceback (most recent call last):
  File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/cmf/agent.py", line 1642, in _send_heartbeat
    response = self.requestor.request('heartbeat', heartbeat_data)
  File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/ipc.py", line 132, in request
    self.write_call_request(message_name, request_datum, buffer_encoder)
  File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/ipc.py", line 174, in write_call_request
    self.write_request(message.request, request_datum, encoder)
  File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/ipc.py", line 178, in write_request
    datum_writer.write(request_datum, encoder)
  File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/io.py", line 979, in write
    raise AvroTypeException(self.writers_schema, datum)
avro.io.AvroTypeException: The datum 
... formatted python dictionary .... 
is not an example of the schema [... whole avro schema...]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error looks similar to a previous bug reported&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Agents-unable-to-contact-Host-Monitor-for-avro-schema-errors/m-p/44886" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;, although this is reported as solved. I've also tried installing CM 7.11.3 on the same Ubuntu 20.04 images, just to check whether this might not be something related to installing CM in a container, but the installation was successful in this case and the agents managed to connect with the CM server.&lt;BR /&gt;&lt;BR /&gt;Any ideas on what I can try here to get this working?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks!&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Edit: I had reported a non supported Postgres Version, but the issue persists when upgrading it to Postgres 14.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Edit2: Adding here that i'm using OpenJDK 17&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 10:18:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/401830#M251326</guid>
      <dc:creator>AgustinG</dc:creator>
      <dc:date>2025-02-11T10:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: CM 7.13.1 Installation failed. Failed to receive heartbeat from agent. AvroTypeException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/401834#M251327</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123954"&gt;@AgustinG&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our Cloudera Manager experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31607"&gt;@paras&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28743"&gt;@Gopinath&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 09:57:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/401834#M251327</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2025-02-11T09:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: CM 7.13.1 Installation failed. Failed to receive heartbeat from agent. AvroTypeException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/402045#M251401</link>
      <description>&lt;P&gt;It appears that the issue is not appearing when using docker (I was using podman before).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not sure how it could affect the comms with the agents, but I've had issues on previous versions related to the DNS resolution of the nodes returning multiple names that do not necessarily correspond to the hostname configured in /etc/hostname&lt;BR /&gt;&lt;BR /&gt;I will try to confirm this and update this thread for anyone trying the same, but I'll mark this as solved since I can confirm the issue is related to using podman.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-7-13-1-Installation-failed-Failed-to-receive-heartbeat/m-p/402045#M251401</guid>
      <dc:creator>AgustinG</dc:creator>
      <dc:date>2025-02-14T09:11:47Z</dc:date>
    </item>
  </channel>
</rss>

