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.

Cannot access nexus-private.hortonworks.com

Cannot access nexus-private.hortonworks.com

New Contributor

Hi everyone,

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?

4 REPLIES 4

Re: Cannot access nexus-private.hortonworks.com

Super Mentor

@Paul Zhang

I am not getting any timeout while accessing the repo.

Can you please try again?

Example:

# 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">
                              &nbsp;
                          </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:

https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/using-hiveql/content/hive_set_up_developmen...

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

.

Re: Cannot access nexus-private.hortonworks.com

Community Manager

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.

Re: Cannot access nexus-private.hortonworks.com

New Contributor

@ 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.

109633-screen-shot-2019-06-28-at-102726-am.png


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?

Re: Cannot access nexus-private.hortonworks.com

New Contributor

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. 

The url is "https://repo.hortonworks.com/content/repositories/releases/"

 

Add the following in settings.xml under <mirrors></mirrors>

 

<mirrors>

<mirror>
  <id>alternate</id>
  <name>alternate to hortonworks</name>
  <mirrorOf>*,!central</mirrorOf>
  <url>https://repo.hortonworks.com/content/repositories/releases/</url>

</mirror>

</mirrors>