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

Failed to build Ambari - missed repositories declaration

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

          Closing as it seems this PR is stale and not being updated.

          jonathanhurley Jonathan Hurley added a comment - Closing as it seems this PR is stale and not being updated.
          githubbot ASF GitHub Bot added a comment -

          GitHub user mikhaildubkov opened a pull request:

          https://github.com/apache/ambari/pull/46

          AMBARI-19310 Add missing repositories to ambari-metrics pom file.

          https://issues.apache.org/jira/browse/AMBARI-19310

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/mikhaildubkov/ambari AMBARI-19310

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/ambari/pull/46.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #46


          commit 046f6b67db5dbb958c6b4e27c77255a1d365429e
          Author: Mikhail Dubkov <mmikhail.dubkov@gmail.com>
          Date: 2016-12-28T16:41:33Z

          AMBARI-19310 Add missing repositories to ambari-metrics pom file.


          githubbot ASF GitHub Bot added a comment - GitHub user mikhaildubkov opened a pull request: https://github.com/apache/ambari/pull/46 AMBARI-19310 Add missing repositories to ambari-metrics pom file. https://issues.apache.org/jira/browse/AMBARI-19310 You can merge this pull request into a Git repository by running: $ git pull https://github.com/mikhaildubkov/ambari AMBARI-19310 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ambari/pull/46.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #46 commit 046f6b67db5dbb958c6b4e27c77255a1d365429e Author: Mikhail Dubkov <mmikhail.dubkov@gmail.com> Date: 2016-12-28T16:41:33Z AMBARI-19310 Add missing repositories to ambari-metrics pom file.
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12844950/add_missing_repos.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in .

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/9847//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/9847//console

          This message is automatically generated.

          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12844950/add_missing_repos.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/9847//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/9847//console This message is automatically generated.
          mikhaildubkov Dubkov Mikhail added a comment -

          Patch submitted.

          mikhaildubkov Dubkov Mikhail added a comment - Patch submitted.

          People

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