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.

Failed at "Install, Start and Test"

Failed at "Install, Start and Test"

New Contributor

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!!

3 REPLIES 3

Re: Failed at "Install, Start and Test"

New Contributor

Is this happening because during building the cluster I specified just each node's hostname rather than the FQDN?

Re: Failed at "Install, Start and Test"

@Yu Song

"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

Re: Failed at "Install, Start and Test"

New Contributor

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?