<?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: SmartSense Host Does Not Match in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167805#M57615</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/319/apathak.html" nodeid="319"&gt;@apathak&lt;/A&gt;: Thank you for your help. I was able to fix this issue. Cheers!!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 07:51:48 GMT</pubDate>
    <dc:creator>bruce_a_perez</dc:creator>
    <dc:date>2017-03-22T07:51:48Z</dc:date>
    <item>
      <title>SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167797#M57607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just recently installed smartsense in our server. I would like to ask if how can I resolve this message in my View in Ambari. Every time I open Smartsense View shows this message. See below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message in SmartSense View&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13844-issue.png" style="width: 989px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20271i8468BB4A4E845766/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13844-issue.png" alt="13844-issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hostname (hostname -f)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13845-hostname.png" style="width: 337px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20272iCF6651F56452B8C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13845-hostname.png" alt="13845-hostname.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Services Status (Healthy)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13847-services.png" style="width: 208px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20273i98771A7988CA3AC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13847-services.png" alt="13847-services.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure what is the effect of this as all components are healthy.&lt;/P&gt;&lt;P&gt;Appreciate all your help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:05:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167797#M57607</guid>
      <dc:creator>bruce_a_perez</dc:creator>
      <dc:date>2019-08-18T11:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167798#M57608</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3524/bruceaperez.html" nodeid="3524"&gt;@Bruce Perez&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1. Can you please provide Ambari and SmartSense version ? Do you have any custom script to identify hostnames for Ambari ?&lt;/P&gt;&lt;P&gt;2. Pls execute this command and share the output : hst list-agents &lt;/P&gt;&lt;P&gt;we need "hostname -f" to be registered smartsense agent and it should also match with ambari-agent.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 23:52:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167798#M57608</guid>
      <dc:creator>apathak</dc:creator>
      <dc:date>2017-03-21T23:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167799#M57609</link>
      <description>&lt;P&gt;It might be possible that the hostname is not setup properly in that sandbox.  May be it might be missing the following line in /etc/hosts file&lt;/P&gt;&lt;P&gt;127.0.1.1 ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 01:31:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167799#M57609</guid>
      <dc:creator>czounaidou</dc:creator>
      <dc:date>2017-03-22T01:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167800#M57610</link>
      <description>&lt;P&gt;Upon checking &lt;STRONG&gt;&lt;A href="http://10.69.161.179:8080/api/v1/hosts/," rel="nofollow noopener noreferrer" target="_blank"&gt;http://10.69.161.179:8080/api/v1/hosts/,&lt;/A&gt; &lt;/STRONG&gt;I saw that there is 2 associated hosts.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13863-host.png" style="width: 828px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20269i3D8C2D9B78BB09D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13863-host.png" alt="13863-host.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hst list-agent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13859-hst.png" style="width: 370px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20270iB017F21658A1FA99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13859-hst.png" alt="13859-hst.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Versions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ambari Version - 2.4.0.1&lt;/P&gt;&lt;P&gt;SmartSense Version - 1.3.0.0-1&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:05:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167800#M57610</guid>
      <dc:creator>bruce_a_perez</dc:creator>
      <dc:date>2019-08-18T11:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167801#M57611</link>
      <description>&lt;P&gt;Do i need to include 127.0.1.1 &lt;A href="http://ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com/"&gt;ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com&lt;/A&gt; in my /etc/hosts?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 02:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167801#M57611</guid>
      <dc:creator>bruce_a_perez</dc:creator>
      <dc:date>2017-03-22T02:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167802#M57612</link>
      <description>&lt;P&gt;The correct content to put in /etc/hosts is :&lt;/P&gt;&lt;P&gt;127.0.0.1 &lt;A href="http://ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com/"&gt;ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After that verify with command hostname -f. It should show the rectified hostname. Then stop and restart HST Agent as follows:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13874-agent-operation.png"&gt;agent-operation.png&lt;/A&gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 06:38:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167802#M57612</guid>
      <dc:creator>apathak</dc:creator>
      <dc:date>2017-03-22T06:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167803#M57613</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/319/apathak.html" nodeid="319" target="_blank"&gt;@apathak&lt;/A&gt;. I tried and same issue. Here's the result and my current config.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/etc/hosts&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13870-etc.png" style="width: 644px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20266iDA27F8948BBADCEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13870-etc.png" alt="13870-etc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname -f&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13881-fqdn.png" style="width: 350px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20267i3D3E07E3333B230F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13881-fqdn.png" alt="13881-fqdn.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/etc/sysconfig/network&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13882-sysconfig.png" style="width: 454px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20268i574CA91D5086924A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13882-sysconfig.png" alt="13882-sysconfig.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if there's incorrect config. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:05:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167803#M57613</guid>
      <dc:creator>bruce_a_perez</dc:creator>
      <dc:date>2019-08-18T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167804#M57614</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3524/bruceaperez.html" nodeid="3524"&gt;@Bruce Perez&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I thought you wanted to use ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com as your hostname. But based on hosts file and network config , it looks like sandbox.hortonworks.com is the intended hostname. So , revert the change I had earlier recommended in /etc/hosts.&lt;/P&gt;&lt;P&gt;Main problem is multiple hostname configured for the same hosts. So , the incorrect host should probably be deleted. What do you see in when you click on Hosts on the top center of ambari view ? Do you see sandbox.hortonworks.com as your hostname ? If yes then, go ahead and use the delete command provided below. replace username, password and clustername.&lt;/P&gt;&lt;P&gt;Here is the command to delete using api : &lt;/P&gt;&lt;P&gt;curl -u [USERNAME]:[PASSWORD] -H "X-Requested-By: ambari" -X DELETE http://10.69.161.179:8080/api/v1/clusters/[CLUSTERNAME]/hosts/ip-10-69-161-179.dir.svc.accenture.comds.dev.accenture.com&lt;/P&gt;&lt;P&gt;Then stop and restart HST Agent as provided in screenshot earlier. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:35:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167804#M57614</guid>
      <dc:creator>apathak</dc:creator>
      <dc:date>2017-03-22T07:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense Host Does Not Match</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167805#M57615</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/319/apathak.html" nodeid="319"&gt;@apathak&lt;/A&gt;: Thank you for your help. I was able to fix this issue. Cheers!!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:51:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-Host-Does-Not-Match/m-p/167805#M57615</guid>
      <dc:creator>bruce_a_perez</dc:creator>
      <dc:date>2017-03-22T07:51:48Z</dc:date>
    </item>
  </channel>
</rss>

