Created 09-28-2016 12:09 PM
At the very beginning of installing Apache Accumulo I encountered the following error:
W: Failed to fetch http://my_pc_hostname/HDP-UTILS-1.1.0.21/repos/ubuntu14/dists/HDP-UTILS/main/binary-i386/Packages 503 Service Unavailable
Because I'm in a environment where no internet access is available I followed the steps described in the official document(https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/), made local repositories on a Apache2
server. My specs are
OS:ubuntu 14
Ambari:2.4.0.1
HDP:2.5
From the error message above, I guess the ambari-agent tries to reach the "http://my_pc_hostname/" domain which is my local Apache2 server hostname but mistakenly looking for it at WAN.
Stuck on this error for a few days.
Any help is greatly appreciated!!
Created 09-28-2016 12:13 PM
Is this happening because during building the cluster I specified just each node's hostname rather than the FQDN?
Created 09-28-2016 01:58 PM
"503 Service Unavailable" error usually indicates the server side error. In this case it looks like you are using your own custom local repository. http://my_pc_hostname/HDP-UTILS-1.1.0.21/repos
So you will need to check the WebServer log (Like: Apache2 httpd logs) to see why is it showing 503 error.
Also are you able to open that URL in browser? I guess you will get same 503 error. means issue with your apache2 config.
http://my_pc_hostname/HDP-UTILS-1.1.0.21/repos/ubuntu14/dists/HDP-UTILS/main/binary-i386/Packages
Created 09-29-2016 02:44 AM
Actually, I have no problem accessing the url from browser :
http://my_pc_hostname/HDP-UTILS-1.1.0.21/repos/ubuntu14/dists/HDP-UTILS/main/binary-i386/Packages
wget http://my_pc_hostname/HDP-UTILS-1.1.0.21/repos/ubuntu14/dists/HDP-UTILS/main/binary-i386/Packages
returns the same 503 error but adding --no-proxy option to wget resolves the issue.
As such, I think this is an issue of not specifying FQDN?