Flume
  1. Flume
  2. FLUME-1404

Cannot build Apache Flume 1.2.0 with profile hadoop23

    Details

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

      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

        Issue Links

          Activity

          Hide
          Bruno Mahé added a comment -

          See also BIGTOP-686

          Show
          Bruno Mahé added a comment - See also BIGTOP-686

            People

            • Assignee:
              Unassigned
              Reporter:
              Bruno Mahé
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development