Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

metron installation over ambari-managed cluster failed

Solved Go to solution

metron installation over ambari-managed cluster failed

New Contributor
Hi i am using centos6.5 in which successfully deployed ambari-server2.4 with 3 nodes where hadoop,yarn,strom are successfully running. I am getting stuck when i try to install metron in ambari-server, adding metron in ambari-repository list is succeed but when installing metron nodes and elasticsearch over target node i get below exception: 

Ambari-console error:

 
 2017-05-25 16:33:01,138 - Installing package elasticsearch-2.3.3 ('/usr/bin/yum -d 0 -e 0 -y install elasticsearch-2.3.3')     
2017-05-25 16:33:02,132 - Execution of '/usr/bin/yum -d 0 -e 0 -y install elasticsearch-2.3.3' returned 1. Error: Cannot retrieve repository metadata (repomd.xml) for repository: METRON-0.4.0. Please verify its path and try again 
 2017-05-25 16:33:02,132 - Failed to install package elasticsearch-2.3.3. Executing '/usr/bin/yum clean metadata'
 2017-05-25 16:33:02,497 - Retrying to install package elasticsearch-2.3.3 after 30 seconds     Command failed after 1 tries  

Terminal error:

file:///localrepo/repodata/repomd.xml: [Errno 14] Could not open/read file:///localrepo/repodata/repomd.xml
Error: Cannot retrieve repository metadata (repomd.xml) for repository: METRON-0.4.0. Please verify its path and try again

Reference url for installation metron is : 

https://community.hortonworks.com/articles/60805/deploying-a-fresh-metron-cluster-using-ambari-serv....
1 ACCEPTED SOLUTION

Accepted Solutions

Re: metron installation over ambari-managed cluster failed

New Contributor

run below command and this should run on each nodes where you transfer rpm:

createrepo /localrepo
1 REPLY 1

Re: metron installation over ambari-managed cluster failed

New Contributor

run below command and this should run on each nodes where you transfer rpm:

createrepo /localrepo
Don't have an account?
Coming from Hortonworks? Activate your account here