At the very beginning of installing Apache Accumulo I encountered the following error:
W: Failed to fetch http://my_pc_hostname/HDP-UTILS-188.8.131.52/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-184.108.40.206/), made local repositories on a Apache2
server. My specs are
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!!
"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-220.127.116.11/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.
Actually, I have no problem accessing the url from browser :
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?