Flume
  1. Flume
  2. FLUME-2448

Building flume from trunk failing with dependency error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: v1.5.0.1
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None

      Description

      I am getting a error during building Flume from source
      As per documentation I just cloned from git (https://git-wip-us.apache.org/repos/asf/flume.git) and ran mvn clean install -DskipTests

      Failing module - Flume NG Morphline Solr Sink

      [ERROR] Failed to execute goal on project flume-ng-morphline-solr-sink: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-morphline-solr-sink:jar:1.6.0-SNAPSHOT: Failed to collect dependencies at org.kitesdk:kite-morphlines-solr-core:jar:tests:0.15.0 -> org.apache.solr:solr-core:jar:4.6.1 -> org.apache.hadoop:hadoop-common:jar:1.0.1: Failed to read artifact descriptor for org.apache.hadoop:hadoop-common:jar:1.0.1: Could not transfer artifact org.apache.hadoop:hadoop-common:pom:1.0.1 from/to cdh.repo (https://repository.cloudera.com/artifactory/cloudera-repos): repository.cloudera.com: Unknown host repository.cloudera.com -> [Help 1]

      Seems that the hadoop-common entries are missing from the cloudera repo. I see that there is a upgrade of kite from 0.12 -> 0.15
      https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=49db6f59173bb9e9ae7ce671034d6562551cedf0

      Is their any help that I can get on this.

      PS - When I reverted the kite SDK version back to 0.12 the build completed successfully

        Issue Links

          Activity

          Ankul Rastogi created issue -
          Ankul Rastogi made changes -
          Field Original Value New Value
          Description I am getting a error during building Flume from source
          As per documentation I just cloned from git (https://git-wip-us.apache.org/repos/asf/flume.git) and ran mvn clean install -DskipTests

          Failing module - Flume NG Morphline Solr Sink

          [ERROR] Failed to execute goal on project flume-ng-morphline-solr-sink: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-morphline-solr-sink:jar:1.6.0-SNAPSHOT: Failed to collect dependencies at org.kitesdk:kite-morphlines-solr-core:jar:tests:0.15.0 -> org.apache.solr:solr-core:jar:4.6.1 -> org.apache.hadoop:hadoop-common:jar:1.0.1: Failed to read artifact descriptor for org.apache.hadoop:hadoop-common:jar:1.0.1: Could not transfer artifact org.apache.hadoop:hadoop-common:pom:1.0.1 from/to cdh.repo (https://repository.cloudera.com/artifactory/cloudera-repos): repository.cloudera.com: Unknown host repository.cloudera.com -> [Help 1]

          Seems that the hadoop-common entries are missing from the cloudera repo. I see that there is a upgrade of kite from 0.12 -> 0.15
          https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=49db6f59173bb9e9ae7ce671034d6562551cedf0

          Is their any help that I can get on this.

          PS - When I reverted the kite SDK version back to 0.12 the build completed successfully
          Hide
          Joey Echeverria added a comment -

          I'm not able to reproduce this error. Is it possible you had a temporary error in hostname resolution?

          Show
          Joey Echeverria added a comment - I'm not able to reproduce this error. Is it possible you had a temporary error in hostname resolution?
          Hide
          Kevin Su added a comment -

          I have come up with the same error. All I have done is cloned from the git, attempted a mvn clean install -DskipTests.

          Show
          Kevin Su added a comment - I have come up with the same error. All I have done is cloned from the git, attempted a mvn clean install -DskipTests.
          Hide
          Santiago M. Mola added a comment - - edited

          I cannot reproduce this, but I have experimented occasional network errors with JBoss repository. As far as I know, neither JBoss or Cloudera repositories are needed for Flume, so removing them would prevent these errors too. See:

          https://issues.apache.org/jira/browse/FLUME-2567

          Show
          Santiago M. Mola added a comment - - edited I cannot reproduce this, but I have experimented occasional network errors with JBoss repository. As far as I know, neither JBoss or Cloudera repositories are needed for Flume, so removing them would prevent these errors too. See: https://issues.apache.org/jira/browse/FLUME-2567
          Santiago M. Mola made changes -
          Link This issue relates to FLUME-2567 [ FLUME-2567 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ankul Rastogi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development