Created 10-27-2016 08:24 PM
I added a few nodes to install Storm, but Ambari (2.2.2.0) is apparently trying to to use the wrong version.
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.
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:
Caught an exception while executing custom service command: <class 'ambari_agent.AgentException.AgentException'>: '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'
I suppose the question is how do I get Ambari to into shape here?
Any help/thoughts are greatly appreciated.
edit: I found that my repo_version table in the Ambari database has 2 different entries for the stack_id I'm using:
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
Created 11-05-2016 11:13 PM
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.
Created 11-05-2016 11:13 PM
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.