Hi Raja, repomd.xml is from a yum repo. For example (and not even relevant to hadoop but just an example) https://dl.fedoraproject.org/pub/epel/7/SRPMS/ There are a bunch of rpms that you can install through yum e.g. https://dl.fedoraproject.org/pub/epel/7/SRPMS/s/sshpass-1.05-5.el7.src.rpm
repomd.xml is located here https://dl.fedoraproject.org/pub/epel/7/SRPMS/repodata/ which is a definition file of a repo and is created by createrepo command e.g. http://yum.baseurl.org/wiki/RepoCreate You get the error because Ambari requires a yum repo, but not tar/jar files. Also note Ambari includes some logics specific to stack vendors (like Hortonworks and Bigtop) so it is not guaranteed to work any hadoop distributions. I'd assume HDP is tested most, I don't know if Bigtop works now. On Wed, Feb 18, 2015 at 11:58 AM, Raja Sekhar <[email protected]> wrote: > Hi All, > > Did any one tried installing Apache Hadoop(not Hortonworks/CDH) using > Ambari...? > I am having problem in getting the repomd.xml files in the Hadoop tar > which I am downloading from " > http://apache.osuosl.org/hadoop/common/stable/" . > > I am trying with local repo, and Ambari throws an error saying that could > not find repomd.xml to continue the installation. I don't see any > repodata/repomd.xml in the tar which I have downloaded. ( > hadoop-2.6.0-2.tar) > > Please help me, where I am going wrong. > > Ambari Log: > > 14:12:53,270 ERROR [qtp119337149-22] AmbariManagementControllerImpl:3249 - > Could not access base url . http://my-local-repo/hdp/hdp-2.6.0/ . > http://my-local-repo/hdp/hdp-2.6.0/repodata/repomd.xml > > 14:12:53,281 ERROR [qtp119337149-23] AmbariManagementControllerImpl:3249 - > Could not access base url . http://my-local-repo/hdp/hdp-2.6.0/ . > http://my-local-repo/hdp/hdp-2.6.0/repodata/repomd.xml > > > > > Thanks & Regards > Raja > -- -jun
