Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19310

Failed to build Ambari - missed repositories declaration

    XMLWordPrintableJSON

    Details

      Description

      Hi,

      I'm facing the following error while building Ambari trunk:

      Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/storm/storm-core/1.1.0-SNAPSHOT/maven-metadata.xml
      Downloading: http://repo.hortonworks.com/content/groups/public/org/apache/storm/storm-core/1.1.0-SNAPSHOT/maven-metadata.xml
      Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/storm/storm-core/1.1.0-SNAPSHOT/maven-metadata.xml (3 KB at 2.8 KB/sec)
      Downloading: http://repo.hortonworks.com/content/groups/public/org/apache/storm/storm/1.1.0-SNAPSHOT/maven-metadata.xml
      Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/storm/storm/1.1.0-SNAPSHOT/maven-metadata.xml
      Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/storm/storm/1.1.0-SNAPSHOT/maven-metadata.xml (2 KB at 1.4 KB/sec)
      Downloading: http://repo.hortonworks.com/content/groups/public/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.pom
      Downloading: https://repository.apache.org/content/repositories/snapshots/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.pom
      Downloading: https://repo.maven.apache.org/maven2/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.pom
      [WARNING] The POM for ring-cors:ring-cors:jar:0.1.5 is missing, no dependency information available
      Downloading: http://repo.hortonworks.com/content/groups/public/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.jar
      Downloading: https://repository.apache.org/content/repositories/snapshots/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.jar
      Downloading: https://repo.maven.apache.org/maven2/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Ambari Main ........................................ SUCCESS [ 9.552 s]
      [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.014 s]
      [INFO] Ambari Web ......................................... SUCCESS [02:02 min]
      [INFO] Ambari Views ....................................... SUCCESS [ 1.564 s]
      [INFO] Ambari Admin View .................................. SUCCESS [ 12.363 s]
      [INFO] utility ............................................ SUCCESS [ 0.289 s]
      [INFO] ambari-metrics ..................................... SUCCESS [ 0.797 s]
      [INFO] Ambari Metrics Common .............................. SUCCESS [ 4.526 s]
      [INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [ 3.002 s]
      [INFO] Ambari Metrics Flume Sink .......................... SUCCESS [ 1.696 s]
      [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [ 1.647 s]
      [INFO] Ambari Metrics Storm Sink .......................... FAILURE [ 4.199 s]
      [INFO] Ambari Metrics Storm Sink (Legacy) ................. SKIPPED
      [INFO] Ambari Metrics Collector ........................... SKIPPED
      [INFO] Ambari Metrics Monitor ............................. SKIPPED
      [INFO] Ambari Metrics Grafana ............................. SKIPPED
      [INFO] Ambari Metrics Assembly ............................ SKIPPED
      [INFO] Ambari Server ...................................... SKIPPED
      [INFO] Ambari Functional Tests ............................ SKIPPED
      [INFO] Ambari Agent ....................................... SKIPPED
      [INFO] Ambari Client ...................................... SKIPPED
      [INFO] Ambari Python Client ............................... SKIPPED
      [INFO] Ambari Groovy Client ............................... SKIPPED
      [INFO] Ambari Shell ....................................... SKIPPED
      [INFO] Ambari Python Shell ................................ SKIPPED
      [INFO] Ambari Groovy Shell ................................ SKIPPED
      [INFO] ambari-logsearch ................................... SKIPPED
      [INFO] Ambari Logsearch Appender .......................... SKIPPED
      [INFO] Ambari Logsearch Solr Client ....................... SKIPPED
      [INFO] Ambari Logsearch Portal ............................ SKIPPED
      [INFO] Ambari Logsearch Log Feeder ........................ SKIPPED
      [INFO] Ambari Logsearch Assembly .......................... SKIPPED
      [INFO] Ambari Logsearch Integration Test .................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 02:45 min
      [INFO] Finished at: 2016-12-28T18:48:00+02:00
      [INFO] Final Memory: 77M/981M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project ambari-metrics-storm-sink: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink:jar:2.0.0.0-SNAPSHOT: Could not find artifact ring-cors:ring-cors:jar:0.1.5 in apache-hadoop (http://repo.hortonworks.com/content/groups/public/) -> [Help 1]

      I added two missed repositories to ambari-metrics/pom.xml:

      <repository>
      <id>clojars</id>
      <name>clojars</name>
      <url>http://clojars.org/repo/</url>
      </repository>
      <repository>
      <id>conjars</id>
      <name>conjars</name>
      <url>http://conjars.org/repo/</url>
      </repository>

      and issue got resolved.

      Does anybody else had this issue with Ambari build?

        Attachments

        1. add_missing_repos.patch
          0.8 kB
          Dubkov Mikhail

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikhaildubkov Dubkov Mikhail
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m