<?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: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126955#M89677</link>
    <description>&lt;P&gt;The ambari agents are already installed on all nodes.&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2016 14:35:20 GMT</pubDate>
    <dc:creator>felix_karabanov</dc:creator>
    <dc:date>2016-05-03T14:35:20Z</dc:date>
    <item>
      <title>Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126950#M89672</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3519/rohitsureka.html" nodeid="3519"&gt;@Rohit Sureka&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm trying to install a 5 node hadoop cluster with HDP 2.3.4.7 on Ubuntu 14.04 using Ambari 2.2.0.0. In the "Ambari - Cluster Install Wizard" I left the default settings for the repository options during "Select Stack" unchanged (HDP-2.3: &lt;A href="http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.4.7" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.4.7&lt;/A&gt; and HDP-UTILS-1.1.0.20: &lt;A href="http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12)" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12)&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;But then I get the following warning during the "Confirm Hosts" Step: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;"W: Duplicate sources.list entry &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/&lt;/A&gt; Ambari/main amd64 Packages (/var/lib/apt/lists/public-repo-1.hortonworks.com_ambari_ubuntu14_2.x_updates_2.2.0.0_dists_Ambari_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems" &lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Running apt-get update makes no difference.&lt;/LI&gt;&lt;LI&gt;I can't see the duplicates in "sources.list"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This results in a failure of the "Confirm Hosts" step for 4 out of the 5 nodes. The only node that doesn't fail during this step is the node with the Ambari Server itself.&lt;/P&gt;&lt;P&gt;Any help would be really appreciated.&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;&lt;P&gt;Here is the full Registration log: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P&gt;==========================
Creating target directory...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:04&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:04&lt;/P&gt;&lt;P&gt;==========================
Copying common functions script...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:04&lt;/P&gt;&lt;P&gt;scp /usr/lib/python2.6/site-packages/ambari_commons
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:05&lt;/P&gt;&lt;P&gt;==========================
Copying OS type check script...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:05&lt;/P&gt;&lt;P&gt;scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:05&lt;/P&gt;&lt;P&gt;==========================
Running OS type check...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:05
Cluster primary/cluster OS family is ubuntu14 and local/current OS family is ubuntu14&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:06&lt;/P&gt;&lt;P&gt;==========================
Checking 'sudo' package on remote host...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:06
sudo install&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:07&lt;/P&gt;&lt;P&gt;==========================
Copying repo file to 'tmp' folder...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:07&lt;/P&gt;&lt;P&gt;scp /etc/apt/sources.list.d/ambari.list
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:07&lt;/P&gt;&lt;P&gt;==========================
Moving file to repo dir...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:07&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:08&lt;/P&gt;&lt;P&gt;==========================
Changing permissions for ambari.repo...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:08&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:08&lt;/P&gt;&lt;P&gt;==========================
Update apt cache of repository...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:08&lt;/P&gt;&lt;P&gt;
0% [Working]
  
0% [Waiting for headers]
  
Hit &lt;A href="http://public-repo-1.hortonworks.com"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari InRelease&lt;/P&gt;&lt;P&gt;  
0% [Working]
  
0% [InRelease gpgv 3,187 B]
  
33% [Working]
  
Hit &lt;A href="http://public-repo-1.hortonworks.com"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main amd64 Packages&lt;/P&gt;&lt;P&gt;33% [Working]
  
100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
  
Ign &lt;A href="http://public-repo-1.hortonworks.com"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main Translation-en_IN&lt;/P&gt;&lt;P&gt;  
100% [Working]
  
Ign &lt;A href="http://public-repo-1.hortonworks.com"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main Translation-en&lt;/P&gt;&lt;P&gt;100% [Working]&lt;/P&gt;&lt;P&gt;Reading package lists... 0%&lt;/P&gt;&lt;P&gt;Reading package lists... 0%&lt;/P&gt;&lt;P&gt;Reading package lists... 0%&lt;/P&gt;&lt;P&gt;Reading package lists... 0%&lt;/P&gt;&lt;P&gt;Reading package lists... 14%&lt;/P&gt;&lt;P&gt;Reading package lists... Done&lt;/P&gt;&lt;P&gt;W: Duplicate sources.list entry &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/&lt;/A&gt; Ambari/main amd64 Packages (/var/lib/apt/lists/public-repo-1.hortonworks.com_ambari_ubuntu14_2.x_updates_2.2.0.0_dists_Ambari_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:11&lt;/P&gt;&lt;P&gt;==========================
Copying setup script file...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:11&lt;/P&gt;&lt;P&gt;scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=sgscaiu0376.in623.corpintra.net, exitcode=0
Command end time 2016-05-03 10:55:12&lt;/P&gt;&lt;P&gt;==========================
Running setup agent script...
==========================&lt;/P&gt;&lt;P&gt;Command start time 2016-05-03 10:55:12
E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
('Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
  ambari-agent
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 49 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 367 kB disk space will be freed.
', None)&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.
SSH command execution finished
host=sgscaiu0376.in623.corpintra.net, exitcode=100
Command end time 2016-05-03 10:55:37&lt;/P&gt;&lt;P&gt;ERROR: Bootstrap of host sgscaiu0376.in623.corpintra.net fails because previous action finished with non-zero exit code (100)
ERROR MESSAGE: Connection to sgscaiu0376.in623.corpintra.net closed.&lt;/P&gt;&lt;P&gt;STDOUT: E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
('Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
  ambari-agent
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 49 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 367 kB disk space will be freed.
', None)&lt;/P&gt;&lt;P&gt;Connection to sgscaiu0376.in623.corpintra.net closed.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 12:44:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126950#M89672</guid>
      <dc:creator>felix_karabanov</dc:creator>
      <dc:date>2016-05-03T12:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126951#M89673</link>
      <description>&lt;P&gt;As a workaround, you can try manual registration of ambari agents since this is a 5 node cluster. Steps are &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 12:48:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126951#M89673</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-03T12:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126952#M89674</link>
      <description>&lt;P&gt;Hi Rohit, can you inspect /etc/apt/ directory on those 4 nodes. It looks like they contain *.list files listing HDP-2.2.0 repo. If so, move them out of /etc/apt and retry.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 13:29:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126952#M89674</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-03T13:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126953#M89675</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10164/felixkarabanov.html" nodeid="10164"&gt;@Felix Karabanov&lt;/A&gt;&lt;P&gt;Please check your repositories. Try moving the existing HDP* repositories and get added the host again.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 13:47:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126953#M89675</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-05-03T13:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126954#M89676</link>
      <description>&lt;P&gt;I moved /etc/apt/sources.list.d/ambari.list out of /etc/apt/ and retried it for the failed nodes but no difference. ambari.list got recreated in the same directory during the failed attempt.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 14:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126954#M89676</guid>
      <dc:creator>felix_karabanov</dc:creator>
      <dc:date>2016-05-03T14:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126955#M89677</link>
      <description>&lt;P&gt;The ambari agents are already installed on all nodes.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 14:35:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126955#M89677</guid>
      <dc:creator>felix_karabanov</dc:creator>
      <dc:date>2016-05-03T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126956#M89678</link>
      <description>&lt;P&gt;Just to clarify your answer, do you mean the same as Predrag with "moving the existing HDP* repositories" or what exactly should I move from where to where? Thanks, for the clarification.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 15:17:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126956#M89678</guid>
      <dc:creator>felix_karabanov</dc:creator>
      <dc:date>2016-05-03T15:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari HDP install fails during Confirm Hosts with duplicate sources.list entry warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126957#M89679</link>
      <description>&lt;P&gt;I found the problem. &lt;/P&gt;&lt;P&gt;Earlier I had problems with the SSH connection and so I manually installed the Ambari agents on the nodes. After I resolved the SSH problems, I forgot to remove the Ambari agents. That was causing the problem during the "Confirm Hosts" step. So after I removed them from the failing nodes, it worked.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 15:57:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-HDP-install-fails-during-Confirm-Hosts-with-duplicate/m-p/126957#M89679</guid>
      <dc:creator>felix_karabanov</dc:creator>
      <dc:date>2016-05-03T15:57:05Z</dc:date>
    </item>
  </channel>
</rss>

