<?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 Install of HDP 2.4 Continually Failing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109748#M21840</link>
    <description>&lt;P&gt;The problem ended up being the Ambari NiFi service instance, I used the Ambari API to delete the service from Ambari and reinstalled the packages and everything worked as planned. Thank you for all your help.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 06:43:01 GMT</pubDate>
    <dc:creator>colton_rodgers</dc:creator>
    <dc:date>2016-03-08T06:43:01Z</dc:date>
    <item>
      <title>Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109738#M21830</link>
      <description>&lt;P&gt;I am upgrading from HDP 2.3.4.0-3485 to HDP 2.4 and Ambari is able to install all of the HDP 2.4 packages on every node in our cluster except for the node running Ambari. It fails when it trys to "yum install apache-maven-3.2*"&lt;/P&gt;&lt;P&gt;
I have tried replacing repositories, deleting HDP repositories and letting Ambari reload them in from the base urls, but it never seems to want to work. I also tried manually doing the yum install and still to no such avail. Stderr is located below, from what I can see it looks like that package doesn't even exist within that repository.&lt;/P&gt;&lt;P&gt;I am wondering if anyone else has run into a similar problem or if someone has seen this and been able to overcome this roadblock. Any help is appreciated or if someone could point me in the right direction I would also be extremely grateful! Thank you in advance.&lt;/P&gt;&lt;P&gt;  2016-03-03 15:45:31,408 - Package Manager failed to install packages. Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'apache-maven-3.2*'' returned 1. Error: Nothing to do&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 376, in install_packages
    skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family() else [])
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
    shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'apache-maven-3.2*'' returned 1. Error: Nothing to do
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 497, in &amp;lt;module&amp;gt;
    InstallPackages().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 163, in actionexecute
    raise Fail("Failed to distribute repositories/install packages")
resource_management.core.exceptions.Fail: Failed to distribute repositories/install packages&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2016 05:58:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109738#M21830</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-04T05:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109739#M21831</link>
      <description>&lt;P&gt;Did you upgrade Ambar first to 2.2.1?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:13:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109739#M21831</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-03-04T07:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109740#M21832</link>
      <description>&lt;P&gt;Yes, ambari-server and all ambari-agents were all upgraded before the attempt to install the new HDP Stack&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 22:50:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109740#M21832</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-04T22:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109741#M21833</link>
      <description>&lt;P&gt;Also, output of "mvn -v" is:&lt;/P&gt;&lt;PRE&gt;Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00) 
Maven home: /usr/share/maven/latest 
Java version: 1.7.0_95, vendor: Oracle Corporation 
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre 
Default locale: en_US, platform encoding: UTF-8 
OS name: "linux", version: "3.8.13-44.1.1.el6uek.x86_64", arch: "amd64", family: "unix"&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:08:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109741#M21833</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-04T23:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109742#M21834</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2161/coltonrodgers.html" nodeid="2161"&gt;@Colton Rodgers&lt;/A&gt;&lt;P&gt;Error: Nothing to do   --&amp;gt; I have experienced this when repo files are not correct&lt;/P&gt;&lt;P&gt;Please make sure that you are using correct repo. &lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 11:24:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109742#M21834</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-05T11:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109743#M21835</link>
      <description>&lt;P&gt;I have copy and pasted the base urls directly from the site. Also, every repo was successfully installed on each host, except the one and the same repository was used for each host.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 05:29:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109743#M21835</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-07T05:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109744#M21836</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2161/coltonrodgers.html" nodeid="2161"&gt;@Colton Rodgers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try again with the correct repo file as per your OS&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 09:51:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109744#M21836</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-07T09:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109745#M21837</link>
      <description>&lt;P&gt;I used the file given under my OS and tried yum install ambari-server and yum upgrade server but both responded with "Package ambari-server-2.2.1.0-161.x86_64 already installed and latest version"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 21:47:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109745#M21837</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-07T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109746#M21838</link>
      <description>&lt;P&gt;I am really just confused as to why Ambari is trying to install an apache maven package. I have Apache Maven 3.2.5 installed and "mvn -v" confirms that&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 22:38:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109746#M21838</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-07T22:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109747#M21839</link>
      <description>&lt;P&gt;Including StdOut as per request: &lt;/P&gt;&lt;PRE&gt;...
2016-03-07 08:06:30,467 - Installing package snappy ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 snappy')
2016-03-07 08:06:32,147 - Package['snappy-devel'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:32,147 - Installing package snappy-devel ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 snappy-devel')
2016-03-07 08:06:33,333 - Package['hadoop_2_4_*-libhdfs'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:33,334 - Installing package hadoop_2_4_*-libhdfs ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'hadoop_2_4_*-libhdfs'')
2016-03-07 08:06:34,689 - Package['zip'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:34,690 - Installing package zip ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 zip')
2016-03-07 08:06:35,745 - Package['extjs'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:35,746 - Installing package extjs ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 extjs')
2016-03-07 08:06:36,864 - Package['oozie_2_4_*'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:36,865 - Installing package oozie_2_4_* ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'oozie_2_4_*'')
2016-03-07 08:06:38,149 - Package['falcon_2_4_*'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:38,149 - Installing package falcon_2_4_* ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'falcon_2_4_*'')
2016-03-07 08:06:39,233 - Package['tez_2_4_*'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:39,234 - Installing package tez_2_4_* ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'tez_2_4_*'')
2016-03-07 08:06:40,344 - Package['flume_2_4_*'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:40,345 - Installing package flume_2_4_* ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'flume_2_4_*'')
2016-03-07 08:06:41,570 - Package['git'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:41,571 - Installing package git ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 git')
2016-03-07 08:06:42,551 - Package['java-1.7.0-openjdk-devel'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:42,551 - Installing package java-1.7.0-openjdk-devel ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 java-1.7.0-openjdk-devel')
2016-03-07 08:06:43,608 - Package['apache-maven-3.2*'] {'use_repos': ['HDP-2.4.0.0-169', 'HDP-UTILS-2.4.0.0-169'], 'skip_repos': ['HDP-*']}
2016-03-07 08:06:43,608 - Installing package apache-maven-3.2* ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'apache-maven-3.2*'')
2016-03-07 08:06:44,706 - Package Manager failed to install packages. Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'apache-maven-3.2*'' returned 1. Error: Nothing to do
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 376, in install_packages
    skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family() else [])
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
    shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.0.0-169,HDP-UTILS-2.4.0.0-169 'apache-maven-3.2*'' returned 1. Error: Nothing to do
2016-03-07 08:06:45,247 - Installation of packages failed. Checking if installation was partially complete
2016-03-07 08:06:45,247 - Old versions: ['2.3.4.0-3485', '2.4.0.0-169']
2016-03-07 08:06:45,270 - New versions: ['2.3.4.0-3485', '2.4.0.0-169']
2016-03-07 08:06:45,434 - Deltas: set([])
&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Mar 2016 22:41:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109747#M21839</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-07T22:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Install of HDP 2.4 Continually Failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109748#M21840</link>
      <description>&lt;P&gt;The problem ended up being the Ambari NiFi service instance, I used the Ambari API to delete the service from Ambari and reinstalled the packages and everything worked as planned. Thank you for all your help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 06:43:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Install-of-HDP-2-4-Continually-Failing/m-p/109748#M21840</guid>
      <dc:creator>colton_rodgers</dc:creator>
      <dc:date>2016-03-08T06:43:01Z</dc:date>
    </item>
  </channel>
</rss>

