<?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: Error in Step 3 Ambari: automatically register hosts in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301057#M220504</link>
    <description>&lt;P&gt;can you try removing this :&amp;nbsp;&lt;SPAN&gt;force_https_protocol=&lt;/SPAN&gt;&lt;STRONG&gt;PROTOCOL_TLSv1_2.&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;This was true for previous versions of Ambari but probably not for the new versions.&amp;nbsp;&lt;BR /&gt;Another try is to try without SSL so as to understand if the communication is broken or the SSL config is a problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 09:25:58 GMT</pubDate>
    <dc:creator>SagarKanani</dc:creator>
    <dc:date>2020-08-07T09:25:58Z</dc:date>
    <item>
      <title>Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/300582#M220301</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before anything I'm going to describe the environment where I'm trying to install the Cluster on Amabri:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Static hostname: &lt;STRONG&gt;sandbox-hdp.hortonworks.com&lt;/STRONG&gt;&lt;BR /&gt;Icon name: &lt;STRONG&gt;computer-vm&lt;/STRONG&gt;&lt;BR /&gt;Chassis: &lt;STRONG&gt;vm&lt;/STRONG&gt;&lt;BR /&gt;Machine ID: &lt;STRONG&gt;d8323e61d06a489f97b6175ebe8ff9c7&lt;/STRONG&gt;&lt;BR /&gt;Boot ID: &lt;STRONG&gt;a0b2c8c30d5345f796a51dc754e807e9&lt;/STRONG&gt;&lt;BR /&gt;Virtualization: &lt;STRONG&gt;vmware&lt;/STRONG&gt;&lt;BR /&gt;Operating System: &lt;STRONG&gt;CentOS Linux 7 (Core)&lt;/STRONG&gt;&lt;BR /&gt;CPE OS Name: &lt;STRONG&gt;cpe:/o:centos:centos:7&lt;/STRONG&gt;&lt;BR /&gt;Kernel: Linux &lt;STRONG&gt;3.10.0-1127.13.1.el7.x86_64&lt;/STRONG&gt;&lt;BR /&gt;Architecture: &lt;STRONG&gt;x86-64&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Amabri Agent Version:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ambari-agent.x86_64 2.7.4.0-118 &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73058"&gt;@Ambari&lt;/a&gt;-2.7.4.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ambari Server Version:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ambari-server.x86_64 2.7.4.0-118 &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73058"&gt;@Ambari&lt;/a&gt;-2.7.4.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ambari Agent ini file:&lt;/P&gt;
&lt;P&gt;[server]&lt;BR /&gt;hostname=&lt;STRONG&gt;sandbox-hdp.hortonworks.com&lt;/STRONG&gt;&lt;BR /&gt;url_port=&lt;STRONG&gt;8440&lt;/STRONG&gt;&lt;BR /&gt;secured_url_port=&lt;STRONG&gt;8441&lt;/STRONG&gt;&lt;BR /&gt;connect_retry_delay=&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;BR /&gt;max_reconnect_retry_delay=&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[agent]&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;public_hostname_script=&lt;STRONG&gt;/var/lib/ambari-agent/hostname.sh&lt;/STRONG&gt;&lt;BR /&gt;hostname_script=&lt;STRONG&gt;/var/lib/ambari-agent/hostname.sh&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[security]&lt;/P&gt;
&lt;P&gt;....&lt;BR /&gt;force_https_protocol=&lt;STRONG&gt;PROTOCOL_TLSv1_2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;/var/lib/ambari-agent/hostname.sh&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#!/bin/bash&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#hostname -f&amp;nbsp;&amp;nbsp; &amp;lt;===== I've tried using this&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo 'sandbox-hdp.hortonworks.com'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/etc/sysconfig/network:&lt;/P&gt;
&lt;P&gt;NETWORKING=&lt;STRONG&gt;yes&lt;/STRONG&gt;&lt;BR /&gt;NETWORKING_IPV6=&lt;STRONG&gt;yes&lt;/STRONG&gt;&lt;BR /&gt;HOSTNAME=&lt;STRONG&gt;sandbox-hdp.hortonworks.com&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/etc/hosts&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4&lt;BR /&gt;::1 localhost localhost.localdomain localhost6 localhost6.localdomain6&lt;BR /&gt;192.168.100.183 sandbox-hdp.hortonworks.com sandbox-hdp&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think thats all the config information about the environment. Amabri Sever and Agents work perfect, i can access to Ambari UI with the user &lt;STRONG&gt;admin&lt;/STRONG&gt; and password &lt;STRONG&gt;admin&lt;/STRONG&gt;; even there I created the ssh key for the server without problem and using WinSCP I can access to any folder of the server because I use the root user. I need to mention that everything is in one server, only one machine has ther server and the agent installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Until there no problem at all; but when I want to create a cluster using the Wizard of Ambari; in the step 3 is where i got the problem:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. In the &lt;STRONG&gt;/var/log/ambari-agent/ambari-agent.log&lt;/STRONG&gt; file always i got this message:&lt;/P&gt;
&lt;P&gt;WARNING 2020-07-29 21:37:12,212 hostname.py:90 - Execution of '/var/lib/ambari-agent/hostname.sh' returned 126. /bin/sh: /var/lib/ambari-agent/hostname.sh: Permission denied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. At the same log file, got not problem with the secured ports:&lt;/P&gt;
&lt;P&gt;INFO 2020-07-29 21:37:11,597 main.py:155 - loglevel=logging.INFO&lt;BR /&gt;INFO 2020-07-29 21:37:11,599 Hardware.py:68 - Initializing host system information.&lt;BR /&gt;INFO 2020-07-29 21:37:11,605 Hardware.py:188 - Some mount points were ignored: /dev, /dev/shm, /run, /sys/fs/cgroup, /boot, /home, /run/user/0&lt;BR /&gt;INFO 2020-07-29 21:37:11,617 Facter.py:202 - Directory: '/etc/resource_overrides' does not exist - it won't be used for gathering system resources.&lt;BR /&gt;INFO 2020-07-29 21:37:11,620 Hardware.py:73 - Host system information: {'kernel': 'Linux', 'domain': 'hortonworks.com', 'physicalprocessorcount': 4, 'kernelrelease': '3.10.0-1127.13.1.el7.x86_64', 'uptime_days': '0', 'memorytotal': 12137760, 'swapfree': '5.87 GB', 'memorysize': 12137760, 'osfamily': 'redhat', 'swapsize': '5.87 GB', 'processorcount': 4, 'netmask': '255.255.255.0', 'timezone': '-05', 'hardwareisa': 'x86_64', 'memoryfree': 10153096, 'operatingsystem': 'centos', 'kernelmajversion': '3.10', 'kernelversion': '3.10.0', 'macaddress': '00:0C:29:01:4A:A8', 'operatingsystemrelease': '7.8.2003', 'ipaddress': '192.168.100.183', 'hostname': 'sandbox-hdp', 'uptime_hours': '20', 'fqdn': 'sandbox-hdp.hortonworks.com', 'id': 'root', 'architecture': 'x86_64', 'selinux': False, 'mounts': [{'available': '45682904', 'used': '6720296', 'percent': '13%', 'device': '/dev/mapper/centos-root', 'mountpoint': '/', 'type': 'xfs', 'size': '52403200'}], 'hardwaremodel': 'x86_64', 'uptime_seconds': '74504', 'interfaces': 'ens192,lo'}&lt;BR /&gt;WARNING 2020-07-29 21:37:11,621 shell.py:826 - can not switch user for RUN_COMMAND.&lt;BR /&gt;WARNING 2020-07-29 21:37:11,625 shell.py:826 - can not switch user for RUN_COMMAND.&lt;BR /&gt;WARNING 2020-07-29 21:37:11,729 shell.py:826 - can not switch user for RUN_COMMAND.&lt;BR /&gt;INFO 2020-07-29 21:37:11,734 main.py:308 - Agent died gracefully, exiting.&lt;BR /&gt;INFO 2020-07-29 21:37:11,734 ExitHelper.py:57 - Performing cleanup before exiting...&lt;BR /&gt;INFO 2020-07-29 21:37:11,734 AlertSchedulerHandler.py:159 - [AlertScheduler] Stopped the alert scheduler.&lt;BR /&gt;INFO 2020-07-29 21:37:11,735 AlertSchedulerHandler.py:159 - [AlertScheduler] Stopped the alert scheduler.&lt;BR /&gt;INFO 2020-07-29 21:37:11,985 main.py:155 - loglevel=logging.INFO&lt;BR /&gt;INFO 2020-07-29 21:37:11,988 Hardware.py:68 - Initializing host system information.&lt;BR /&gt;INFO 2020-07-29 21:37:11,992 Hardware.py:188 - Some mount points were ignored: /dev, /dev/shm, /run, /sys/fs/cgroup, /boot, /home, /run/user/0&lt;BR /&gt;INFO 2020-07-29 21:37:12,004 Facter.py:202 - Directory: '/etc/resource_overrides' does not exist - it won't be used for gathering system resources.&lt;BR /&gt;INFO 2020-07-29 21:37:12,007 Hardware.py:73 - Host system information: {'kernel': 'Linux', 'domain': 'hortonworks.com', 'physicalprocessorcount': 4, 'kernelrelease': '3.10.0-1127.13.1.el7.x86_64', 'uptime_days': '0', 'memorytotal': 12137760, 'swapfree': '5.87 GB', 'memorysize': 12137760, 'osfamily': 'redhat', 'swapsize': '5.87 GB', 'processorcount': 4, 'netmask': '255.255.255.0', 'timezone': '-05', 'hardwareisa': 'x86_64', 'memoryfree': 10175244, 'operatingsystem': 'centos', 'kernelmajversion': '3.10', 'kernelversion': '3.10.0', 'macaddress': '00:0C:29:01:4A:A8', 'operatingsystemrelease': '7.8.2003', 'ipaddress': '192.168.100.183', 'hostname': 'sandbox-hdp', 'uptime_hours': '20', 'fqdn': 'sandbox-hdp.hortonworks.com', 'id': 'root', 'architecture': 'x86_64', 'selinux': False, 'mounts': [{'available': '45687172', 'used': '6716028', 'percent': '13%', 'device': '/dev/mapper/centos-root', 'mountpoint': '/', 'type': 'xfs', 'size': '52403200'}], 'hardwaremodel': 'x86_64', 'uptime_seconds': '74504', 'interfaces': 'ens192,lo'}&lt;BR /&gt;INFO 2020-07-29 21:37:12,009 DataCleaner.py:39 - Data cleanup thread started&lt;BR /&gt;INFO 2020-07-29 21:37:12,009 DataCleaner.py:120 - Data cleanup started&lt;BR /&gt;INFO 2020-07-29 21:37:12,010 DataCleaner.py:122 - Data cleanup finished&lt;BR /&gt;WARNING 2020-07-29 21:37:12,011 hostname.py:63 - Unexpected error while retrieving hostname: '(&amp;lt;type 'exceptions.OSError'&amp;gt;, OSError(13, 'Permission denied'), &amp;lt;traceback object at 0x7f4ff6f46fc8&amp;gt;)', defaulting to socket.getfqdn()&lt;BR /&gt;INFO 2020-07-29 21:37:12,011 hostname.py:64 - Read hostname 'sandbox-hdp.hortonworks.com' using socket.getfqdn().&lt;BR /&gt;INFO 2020-07-29 21:37:12,014 PingPortListener.py:50 - Ping port listener started on port: 8670&lt;BR /&gt;INFO 2020-07-29 21:37:12,015 main.py:191 - Newloglevel=logging.DEBUG&lt;BR /&gt;INFO 2020-07-29 21:37:12,016 main.py:481 - Connecting to Ambari server at &lt;A href="https://sandbox-hdp.hortonworks.com:8440" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440&lt;/A&gt; (192.168.100.183)&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,016 NetUtil.py:104 - Trying to connect to &lt;A href="https://sandbox-hdp.hortonworks.com:8440" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440&lt;/A&gt;&lt;BR /&gt;INFO 2020-07-29 21:37:12,016 NetUtil.py:61 - Connecting to &lt;A href="https://sandbox-hdp.hortonworks.com:8440/ca" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440/ca&lt;/A&gt;&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,065 NetUtil.py:81 - GET &lt;A href="https://sandbox-hdp.hortonworks.com:8440/ca" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440/ca&lt;/A&gt; -&amp;gt; 200, body:&lt;BR /&gt;INFO 2020-07-29 21:37:12,066 main.py:491 - Connected to Ambari server sandbox-hdp.hortonworks.com&lt;BR /&gt;INFO 2020-07-29 21:37:12,066 AlertSchedulerHandler.py:149 - [AlertScheduler] Starting &amp;lt;ambari_agent.apscheduler.scheduler.Scheduler object at 0x7f4ff6f3c8d0&amp;gt;; currently running: False&lt;BR /&gt;INFO 2020-07-29 21:37:12,067 NetUtil.py:61 - Connecting to &lt;A href="https://sandbox-hdp.hortonworks.com:8440/connection_info" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440/connection_info&lt;/A&gt;&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,116 NetUtil.py:81 - GET &lt;A href="https://sandbox-hdp.hortonworks.com:8440/connection_info" target="_blank" rel="noopener"&gt;https://sandbox-hdp.hortonworks.com:8440/connection_info&lt;/A&gt; -&amp;gt; 200, body: {"security.server.two_way_ssl":"true"}&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,117 security.py:56 - Server two-way SSL authentication required: True&lt;BR /&gt;INFO 2020-07-29 21:37:12,117 security.py:59 - Server require two-way SSL authentication. Use it instead of one-way...&lt;BR /&gt;INFO 2020-07-29 21:37:12,117 security.py:61 - Connecting to wss://sandbox-hdp.hortonworks.com:8441/agent/stomp/v1&lt;BR /&gt;INFO 2020-07-29 21:37:12,117 security.py:224 - Server certicate exists, ok&lt;BR /&gt;INFO 2020-07-29 21:37:12,117 security.py:232 - Agent key exists, ok&lt;BR /&gt;INFO 2020-07-29 21:37:12,117 security.py:240 - Agent certificate exists, ok&lt;BR /&gt;INFO 2020-07-29 21:37:12,169 transport.py:329 - Starting receiver loop&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,169 transport.py:269 - Sending frame: ['STOMP', '\n', 'accept-version:1.2\n', 'host:0\n', '\n', '\x00']&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. At the same log file, I always get problem with long data at the time that Ambari is trying to register the host:&lt;/P&gt;
&lt;P&gt;WARNING 2020-07-29 21:37:12,212 hostname.py:90 - Execution of '/var/lib/ambari-agent/hostname.sh' returned 126. /bin/sh: /var/lib/ambari-agent/hostname.sh: Permission denied&lt;/P&gt;
&lt;P&gt;INFO 2020-07-29 21:37:12,220 hostname.py:103 - Read public hostname '&amp;lt;!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "&lt;A target="_blank" rel="noopener"&gt;http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"&amp;gt;^M&lt;/A&gt;&lt;BR /&gt;&amp;lt;html xmlns="&lt;A target="_blank" rel="noopener"&gt;http://www.w3.org/1999/xhtml"&amp;gt;^M&lt;/A&gt;&lt;BR /&gt;&amp;lt;head&amp;gt;^M&lt;BR /&gt;&amp;lt;meta content="text/html; charset=utf-8" http-equiv="content-type" /&amp;gt;^M&lt;BR /&gt;&amp;lt;meta content="no-cache" http-equiv="pragma" /&amp;gt;^M&lt;BR /&gt;&amp;lt;title&amp;gt;waiting...&amp;lt;/title&amp;gt;^M&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;^M&lt;BR /&gt;var pagename = '/';^M&lt;BR /&gt;top.location.replace(pagename);^M&lt;BR /&gt;&amp;lt;/script&amp;gt;^M&lt;BR /&gt;&amp;lt;/head&amp;gt;^M&lt;BR /&gt;&amp;lt;body&amp;gt; &amp;lt;/body&amp;gt;^M&lt;BR /&gt;&amp;lt;/html&amp;gt;^M&lt;BR /&gt;' from &lt;A href="http://169.254.169.254/latest/meta-data/public-hostname" target="_blank" rel="noopener"&gt;http://169.254.169.254/latest/meta-data/public-hostname&lt;/A&gt;&lt;BR /&gt;INFO 2020-07-29 21:37:12,220 HeartbeatThread.py:127 - Sending registration request&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;DEBUG 2020-07-29 21:37:12,227 transport.py:189 - Received frame: 'MESSAGE', headers={'content-length': '648', 'destination': '/user/', 'message-id': '1d065200-6399-190c-1707-13715074fb75-50', 'content-type': 'application/json;charset=UTF-8', 'correlationId': '0', 'subscription': 'sub'}, body='{"status":"OK","exitstatus":1,"log":"Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException\\nInternal Exception: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column \'public_host_name\' at row 1\\nError Code: 1406\\nCall: UPDATE hosts SET ipv4 = ?, ipv6 = ?, cpu_count = ?, ph_cpu_count = ?, total_mem = ?, os_arch = ?, os_type = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\\n\\tbind =&amp;gt; [10 parameters bound]\\nQuery: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@8b6494c6)","id":-1}'&lt;BR /&gt;INFO 2020-07-29 21:37:12,227 __init__.py:82 - Event from server at /user/ (correlation_id=0): {u'status': u'OK', u'exitstatus': 1, u'log': u"Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException\nInternal Exception: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'public_host_name' at row 1\nError Code: 1406\nCall: UPDATE hosts SET ipv4 = ?, ipv6 = ?, cpu_count = ?, ph_cpu_count = ?, total_mem = ?, os_arch = ?, os_type = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\n\tbind =&amp;gt; [10 parameters bound]\nQuery: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@8b6494c6)", u'id': -1}&lt;BR /&gt;INFO 2020-07-29 21:37:12,228 HeartbeatThread.py:132 - Registration response received&lt;BR /&gt;DEBUG 2020-07-29 21:37:12,229 HeartbeatThread.py:133 - Registration response is {u'status': u'OK', u'exitstatus': 1, u'log': u"Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException\nInternal Exception: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'public_host_name' at row 1\nError Code: 1406\nCall: UPDATE hosts SET ipv4 = ?, ipv6 = ?, cpu_count = ?, ph_cpu_count = ?, total_mem = ?, os_arch = ?, os_type = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\n\tbind =&amp;gt; [10 parameters bound]\nQuery: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@8b6494c6)", u'id': -1}&lt;BR /&gt;ERROR 2020-07-29 21:37:12,229 HeartbeatThread.py:108 - Exception in HeartbeatThread. Re-running the registration&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. And at the Ambari UI i got the same message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've done any advise that i'v found in Internet but nothing makes me pass throu Step 3, and I think is because the error shown in the point 1 that i wrote.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more thing, the reason why I'm writting this, is because I'm Hadoop as the central process on my thesis for my Master Degree; and i've been stock in this problem from 1 month ago and i don't know what to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 17:27:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/300582#M220301</guid>
      <dc:creator>jloormoreira</dc:creator>
      <dc:date>2020-07-31T17:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301057#M220504</link>
      <description>&lt;P&gt;can you try removing this :&amp;nbsp;&lt;SPAN&gt;force_https_protocol=&lt;/SPAN&gt;&lt;STRONG&gt;PROTOCOL_TLSv1_2.&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;This was true for previous versions of Ambari but probably not for the new versions.&amp;nbsp;&lt;BR /&gt;Another try is to try without SSL so as to understand if the communication is broken or the SSL config is a problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 09:25:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301057#M220504</guid>
      <dc:creator>SagarKanani</dc:creator>
      <dc:date>2020-08-07T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301070#M220508</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80384"&gt;@jloormoreira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple suggestions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If you are using the hdp sandbox, you should be be able to spin up the vm and have ambari and services installed out of the box. &amp;nbsp;No need to run cluster install wizard. &amp;nbsp;This is the HDP Sandbox:&amp;nbsp;&lt;A href="https://www.cloudera.com/downloads/hortonworks-sandbox/hdp.html?utm_source=mktg-tutorial" target="_blank" rel="noopener"&gt;https://www.cloudera.com/downloads/hortonworks-sandbox/hdp.html?utm_source=mktg-tutorial&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;If you are installing a cluster yourself, &amp;nbsp;you need to back up and complete the documentated steps to install ambari-server &amp;amp; ambari-agent and setup ambari-server. &amp;nbsp;Install as root user and do not do anything for "SSL" until you have base install completed. &amp;nbsp; Complete host mapping for your fqdn (/etc/hosts) in your machine and in the VM. &amp;nbsp;Make sure these are right. &amp;nbsp; Make sure the VM hostname is right and persisting. &amp;nbsp; Next, in the VM complete password less auth steps for the node by creating ssh keys (ssh-keygen) and adding that ~/.ssh/id_rsa.pub key to root ~/.ssh/authorized_keys. &amp;nbsp;Be sure to do the initial login ssh root@yourfqdn and click Y the first time. &amp;nbsp;Now you can go to ambari to install cluster. &amp;nbsp; During cluster install use the id_rsa &amp;nbsp;(not id_rsa.pub) for register host. &amp;nbsp;Once these basics are completed the rest of the install should go fine. &amp;nbsp;My last bit of advice is, if the size of the vm you are using is limited do no try to install all ambari services. &amp;nbsp; It will take a 16-32gb instance to run whole stack and even this is almost too much for single node. &amp;nbsp;In the 8-16gb range you will have issues trying to install everything so recommend installing only basics (yarn,hdfs,ambari metrics) + the other components you need.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:47:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301070#M220508</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-08-07T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301120#M220518</link>
      <description>&lt;P&gt;Hi everyone...&lt;/P&gt;&lt;P&gt;I have to thanks to all of you that pass throu this post, specially for the two guys that response to the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was like 10 times that i recreated everything, from the virtual machine to the wizard on Ambari, but always got the same error: &lt;STRONG&gt;The point 3 on my first post; always got a HTML as a response when i was creating the cluster.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i felt like something else was missing in the tutorial that Cloudera has in its web portal:&amp;nbsp;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/bk_ambari-installation/content/install-mysql.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/bk_ambari-installation/content/install-mysql.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally i found out a post somewhere in the internet; where some guy explain that is necesary to give excecution permision to the files hostname.sh and public_host_name.sh that is/are necesaries in the Ambari's setting ini file if you aren't doing manualy creation of the hosts; and after that&amp;nbsp;&lt;EM&gt;voilà&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, somehow Cloudera needs to put this point into its tutorial; because i found like a million post asking for the same problem, even here in cloudera:&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/I-am-not-able-to-register-the-host-Error-registration-with/td-p/237818" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/I-am-not-able-to-register-the-host-Error-registration-with/td-p/237818&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that with this post everyone else that experience the same problem, use this advice and make possible the creation of the cluster.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 04:28:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301120#M220518</guid>
      <dc:creator>jloormoreira</dc:creator>
      <dc:date>2020-08-08T04:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301121#M220519</link>
      <description>&lt;P&gt;Thanks for your point and if you got time, please read the solution that i found out somewhere in the internet.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 04:29:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301121#M220519</guid>
      <dc:creator>jloormoreira</dc:creator>
      <dc:date>2020-08-08T04:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Step 3 Ambari: automatically register hosts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301122#M220520</link>
      <description>&lt;P&gt;Thanks for your point and if you got time, please read the solution that i found out somewhere in the internet.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 04:31:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-Step-3-Ambari-automatically-register-hosts/m-p/301122#M220520</guid>
      <dc:creator>jloormoreira</dc:creator>
      <dc:date>2020-08-08T04:31:34Z</dc:date>
    </item>
  </channel>
</rss>

