Recently when I compile Ambari from source code, I got the error, which said that it cannot download XML files from
http://nexus-private.hortonworks.com/nexus/content/groups/public/ . Can you guys still access this address without any problems? One week ago I could successfully download XMLs from this URL, but now I can't . I even got timeout when I ping this domain. Did Hortonworks change this repo URL recently?
I am not getting any timeout while accessing the repo.
Can you please try again?
# curl http://nexus-private.hortonworks.com/nexus/content/groups/public/ <html> <head> <title>Index of /groups/public</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="icon" type="image/png" href="https://nexus-private.hortonworks.com/nexus/favicon.png"> <!--[if IE]> <link rel="SHORTCUT ICON" href="https://nexus-private.hortonworks.com/nexus/favicon.ico"/> <![endif]--> <link rel="stylesheet" href="https://nexus-private.hortonworks.com/nexus/static/css/Sonatype-content.css?2.11.2-06" type="text/css" media="screen" title="no title" charset="utf-8"> </head> <body> <h1>Index of /groups/public</h1> <table cellspacing="10"> <tr> <th align="left">Name</th> <th>Last Modified</th> <th>Size</th> <th>Description</th> </tr> <tr> <td><a href="../">Parent Directory</a></td> </tr> <tr> <td><a href="https://nexus-private.hortonworks.com/nexus/content/groups/public/27756a05fd50e7e0/">27756a05fd50e7e0/</a></td> <td>Mon Jan 07 17:35:19 PST 2019</td> <td align="right"> </td> <td></td> </tr> . . . <tr> <td><a href="https://nexus-private.hortonworks.com/nexus/content/groups/public/tests">tests</a></td> <td>Mon Jun 17 05:57:28 PDT 2019</td> <td align="right"> 11552 </td> <td></td> </tr> </table> </body> </html>
We can also use the following repos:
<repositories> <repository> <releases> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> <id>HDPReleases</id> <name>HDP Releases</name> <url>http://repo.hortonworks.com/content/repositories/releases/</url> <layout>default</layout> </repository> <repository> <id>public.repo.hortonworks.com</id> <name>Public Hortonworks Maven Repo</name> <url>http://repo.hortonworks.com/content/groups/public/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>
The above question and the reply thread below was originally posted in the Community Help track. On Thu Jun 27 19:17 UTC 2019, a member of the HCC moderation staff moved it to the Cloud & Operations track. The Community Help Track is intended for questions about using the HCC site itself, not technical questions about compiling Apache Ambari.
@ Jay Kumar SenSharma
I tried using a website: https://asm.ca.com/en/ping.php. It's an online ping tools. But still got negative answers.
One of my friends located in Australia helped me access this URL: http://nexus-private.hortonworks.com/nexus/content/groups/public/ but he still got 404.
I am totally confused. Did you change any network configurations?
Add a mirror to above repository in the .m2/settings.xml in local root directory of maven.
This provides a alternate way to get the required artifacts.
Add the following in settings.xml under <mirrors></mirrors>
<name>alternate to hortonworks</name>
Just tried repo.hortsonwork.com, it is accessible.
I have noticed that most of the links other than nexus-private.hortonworks.com and dev.hortonwork.com.s3.awsamazon.com are no more accessible as all the public REPO links are no longer private. Even the new links shared by the CDH/HDP require credentials to get the repos.
Still looking for an alternative. if anyone has found any solution, please guide us the way forward.