<?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 agent uses wrong version when installing a service in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-agent-uses-wrong-version-when-installing-a-service/m-p/153555#M44735</link>
    <description>&lt;P&gt;If you intend to use 2.4 release, please try registering 2.4.3 version and upgrade cluster to that. Then try adding storm. storm in HDP 2.4 is version 0.10.x so you're definitely pulling something incorrect. go to Ambari admin page and make sure you have correct repos setup.&lt;/P&gt;</description>
    <pubDate>Sun, 06 Nov 2016 06:13:56 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-11-06T06:13:56Z</dc:date>
    <item>
      <title>Ambari agent uses wrong version when installing a service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-agent-uses-wrong-version-when-installing-a-service/m-p/153554#M44734</link>
      <description>&lt;P&gt;
	I added a few nodes to install Storm, but Ambari (2.2.2.0) is apparently trying to to use the wrong version.&lt;/P&gt;&lt;P&gt;
	On the destination node, the path /var/lib/ambari-agent/cache/common-services/STORM contains 2 versions, 0.9.1 and 0.9.1.2.1.&lt;/P&gt;&lt;P&gt;
	The directory 0.9.1 is empty and is the one Ambari is trying to execute script in. The other directory contains the items needed for installation. So the install fails with errors like:&lt;/P&gt;
&lt;PRE&gt;Caught an exception while executing custom service command: &amp;lt;class 'ambari_agent.AgentException.AgentException'&amp;gt;: 'Script /var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/drpc_server.py does not exist'; 'Script /var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/drpc_server.py does not exist'
&lt;/PRE&gt;&lt;P&gt;
	I suppose the question is how do I get Ambari to into shape here?&lt;/P&gt;&lt;P&gt;
	Any help/thoughts are greatly appreciated.&lt;/P&gt;&lt;P&gt;
	edit: I found that my repo_version table in the Ambari database has 2 different entries for the stack_id I'm using:&lt;/P&gt;
&lt;PRE&gt;53 | 2.4.0.0-169 | HDP-2.4.0.0  | [{"repositories":[{"Repositories/repo_id":"HDP-2.4","Repositories/base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.0.0","Repositories/repo_name
":"HDP"},{"Repositories/repo_id":"HDP-UTILS-1.1.0.20","Repositories/base_url":"http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6","Repositories/repo_name":"HDP-UTILS"}],"OperatingSystems/os_type":"r
edhat6"}] | 51

103 | 2.4.2.0-258 | HDP-2.4.2.0  | [{"repositories":[{"Repositories/repo_id":"HDP-2.4","Repositories/base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.2.0","Repositories/repo_name
":"HDP"},{"Repositories/repo_id":"HDP-UTILS-1.1.0.20","Repositories/base_url":"http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6","Repositories/repo_name":"HDP-UTILS"}],"OperatingSystems/os_type":"r
edhat6"}] | 51
&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Oct 2016 03:24:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-agent-uses-wrong-version-when-installing-a-service/m-p/153554#M44734</guid>
      <dc:creator>bcobb</dc:creator>
      <dc:date>2016-10-28T03:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari agent uses wrong version when installing a service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-agent-uses-wrong-version-when-installing-a-service/m-p/153555#M44735</link>
      <description>&lt;P&gt;If you intend to use 2.4 release, please try registering 2.4.3 version and upgrade cluster to that. Then try adding storm. storm in HDP 2.4 is version 0.10.x so you're definitely pulling something incorrect. go to Ambari admin page and make sure you have correct repos setup.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2016 06:13:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-agent-uses-wrong-version-when-installing-a-service/m-p/153555#M44735</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-11-06T06:13:56Z</dc:date>
    </item>
  </channel>
</rss>

