Created 08-29-2016 05:45 AM
Hello, While setting up repositories, I know that an ambari.repo file needs to be placed on the node which will run ambari. So do we place hdp.repo on the nodes of the cluster? or do we place these files on every node including the ambari host?
Created 08-29-2016 06:05 AM
The minimal requirement is to place ambari.repo on the node where ambari-server will be installed. If you let ambari-server install Ambari agents (requires password-less ssh and ssh private key) that's all you need. If you want to install Ambari agents manually, then you need ambari.repo on all nodes in the cluster. [Usually, to be sure, I place ambari.repo before hand by myself on all nodes in the cluster.] Regarding HDP.repo, it's as @rguruvannagari said, you don't need to place it manually, it will be done by Ambari.
Created 08-29-2016 05:45 AM
@Saifullah Sajjad If cluster is managed by Ambari HDP.repo file is created by ambari agent during the HDP installation. This HDP.repo file need not to be created manually, even if created manually, this will be overwritten by Ambari.
HDP.repo file is created as per your inputs provided during stack setup setup in Launch Install cluster wizard.
Created 08-29-2016 07:58 AM
Thank you for your answer 🙂
Created 08-29-2016 12:36 PM
Hi, I am still facing this error log, need help to resolve
Created 08-29-2016 01:00 PM
You have a 404, not found error by yum. Login to one node where ambari.repo is available and try "yum clean all", followed by "yum repolist" and "yum install ambari-agent". If either of these commands produce error, check and adjust if needed your base URL in ambari.repo, and also make sure that the node (and all other nodes) can access your web server running on lexbz1187.
Created 08-31-2016 06:14 AM
http://lexbz1187.cloud.dst.ibm.com/hdp/centos6/HDP-2.3.4.0/repodata/repomd.xml: [Errno 12] Timeout on http://lexbz1187.cloud.dst.ibm.com/hdp/centos6/HDP-2.3.4.0/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: HDP-2.3.4.0. Please verify its path and try again Cannot figure out this error, I have attached error logs in this thread above as well
Created 08-29-2016 06:05 AM
The minimal requirement is to place ambari.repo on the node where ambari-server will be installed. If you let ambari-server install Ambari agents (requires password-less ssh and ssh private key) that's all you need. If you want to install Ambari agents manually, then you need ambari.repo on all nodes in the cluster. [Usually, to be sure, I place ambari.repo before hand by myself on all nodes in the cluster.] Regarding HDP.repo, it's as @rguruvannagari said, you don't need to place it manually, it will be done by Ambari.
Created 08-29-2016 07:57 AM
Thank you for the detailed answer, much appreciated 🙂
Created 08-30-2016 11:34 AM
I still am unable to add node to the cluster, help please.