Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1404

Cannot build Apache Flume 1.2.0 with profile hadoop23

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.2.0
    • None
    • Build

    Description

      Here is the output:

      [bruno@p8700 apache-flume-1.2.0]$ mvn -DskipTests -Dhadoop.profile=23  clean install
      /usr/lib/jvm/java
      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:1.2.0 (/home/bruno/projects/bigtop-git-svn/temp/apache-flume-1.2.0/flume-ng-sinks/flume-ng-hbase-sink/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-test:jar is missing. @ line 88, column 17
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      

      From http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-test only Apache Hadoop 1.X has a hadoop-test artefact.
      This is also why hadoop-test version is only defined for the default Apache Hadoop 1.X profile and not the 0.23 one

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bmahe Bruno Mahé
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: