crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Adler <joseph.ad...@gmail.com>
Subject can't build from trunk
Date Tue, 23 Apr 2013 16:09:18 GMT
Hi guys,

I'm trying to do a fresh build of Crunch from trunk, and it's not working.
Error log below:

$ git clone https://git-wip-us.apache.org/repos/asf/crunch.git
$ cd crunch
$ mvn package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Crunch
[INFO] Apache Crunch Test
[INFO] Apache Crunch Core
[INFO] Apache Crunch HBase Support
[INFO] Apache Crunch Contrib
[INFO] Apache Crunch Examples
[INFO] Apache Crunch Archetype
[INFO] Apache Crunch for Scala
[INFO] Apache Crunch Distribution
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Crunch 0.6.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
crunch-parent ---
[INFO]
[INFO] --- apache-rat-plugin:0.8:check (rat-check) @ crunch-parent ---
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: .repository/
[INFO] Exclude: .idea/**
[INFO] Exclude: **/resources/*.txt
[INFO] Exclude: **/resources/**/*.txt
[INFO] Exclude: **/goal.txt
[INFO] Exclude: **/target/generated-test-sources/**
[INFO] Exclude: **/scripts/scrunch
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
crunch-parent ---
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Crunch Test 0.6.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source)
@ crunch-test ---
[INFO] Test Source directory:
/home/jadler/dev/crunch/crunch-test/src/it/java added.
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-resource
(add-test-resource) @ crunch-test ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
crunch-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
crunch-test ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jadler/dev/crunch/crunch-test/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
crunch-test ---
[INFO] Compiling 5 source files to
/home/jadler/dev/crunch/crunch-test/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ crunch-test ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jadler/dev/crunch/crunch-test/src/test/resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
crunch-test ---
[INFO] Compiling 2 source files to
/home/jadler/dev/crunch/crunch-test/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ crunch-test ---
[INFO] Surefire report directory:
/home/jadler/dev/crunch/crunch-test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.crunch.test.CrunchTestSupportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- apache-rat-plugin:0.8:check (rat-check) @ crunch-test ---
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: .repository/
[INFO] Exclude: .idea/**
[INFO] Exclude: **/resources/*.txt
[INFO] Exclude: **/resources/**/*.txt
[INFO] Exclude: **/goal.txt
[INFO] Exclude: **/target/generated-test-sources/**
[INFO] Exclude: **/scripts/scrunch
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ crunch-test ---
[INFO] Building jar:
/home/jadler/dev/crunch/crunch-test/target/crunch-test-0.6.0-SNAPSHOT.jar
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Crunch Core 0.6.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source)
@ crunch ---
[INFO] Test Source directory: /home/jadler/dev/crunch/crunch/src/it/java
added.
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-resource
(add-test-resource) @ crunch ---
[INFO]
[INFO] --- avro-maven-plugin:1.7.0:schema (schemas) @ crunch ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ crunch ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
crunch ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ crunch
---
[INFO] Compiling 212 source files to
/home/jadler/dev/crunch/crunch/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[95,54]
cannot find symbol
symbol  : class WritableComparator
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[95,84]
cannot find symbol
symbol  : class Configurable
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,55]
cannot find symbol
symbol  : class Configured
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,77]
cannot find symbol
symbol  : class RawComparator
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,90]
interface expected here
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,59]
cannot find symbol
symbol  : class Configured
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,81]
cannot find symbol
symbol  : class RawComparator
location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,94]
interface expected here
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[230,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[235,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseAvroComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[253,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[256,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.TupleWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[263,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseAvroComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[54,6]
non-static variable super cannot be referenced from a static context
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[54,11]
cannot find symbol
symbol  : method setConf(org.apache.hadoop.conf.Configuration)
location: class java.lang.Object
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[52,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[61,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[66,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[78,6]
non-static variable super cannot be referenced from a static context
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[78,11]
cannot find symbol
symbol  : method setConf(org.apache.hadoop.conf.Configuration)
location: class java.lang.Object
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[76,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[84,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[89,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[126,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[166,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[171,4]
method does not override or implement a method from a supertype
[INFO] 26 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Crunch ..................................... SUCCESS [1.610s]
[INFO] Apache Crunch Test ................................ SUCCESS [2.359s]
[INFO] Apache Crunch Core ................................ FAILURE [3.538s]
[INFO] Apache Crunch HBase Support ....................... SKIPPED
[INFO] Apache Crunch Contrib ............................. SKIPPED
[INFO] Apache Crunch Examples ............................ SKIPPED
[INFO] Apache Crunch Archetype ........................... SKIPPED
[INFO] Apache Crunch for Scala ........................... SKIPPED
[INFO] Apache Crunch Distribution ........................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8.013s
[INFO] Finished at: Tue Apr 23 09:05:28 PDT 2013
[INFO] Final Memory: 25M/964M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project crunch: Compilation failure: Compilation
failure:
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[95,54]
cannot find symbol
[ERROR] symbol  : class WritableComparator
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[95,84]
cannot find symbol
[ERROR] symbol  : class Configurable
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,55]
cannot find symbol
[ERROR] symbol  : class Configured
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,77]
cannot find symbol
[ERROR] symbol  : class RawComparator
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[72,90]
interface expected here
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,59]
cannot find symbol
[ERROR] symbol  : class Configured
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,81]
cannot find symbol
[ERROR] symbol  : class RawComparator
[ERROR] location: class org.apache.crunch.lib.sort.Comparators
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[47,94]
interface expected here
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[230,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[235,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseAvroComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[253,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[256,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.TupleWritableComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/Sort.java:[263,15]
sortComparatorClass(java.lang.Class<? extends
org.apache.hadoop.io.RawComparator>) in
org.apache.crunch.GroupingOptions.Builder cannot be applied to
(java.lang.Class<org.apache.crunch.lib.sort.Comparators.ReverseAvroComparator>)
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[54,6]
non-static variable super cannot be referenced from a static context
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[54,11]
cannot find symbol
[ERROR] symbol  : method setConf(org.apache.hadoop.conf.Configuration)
[ERROR] location: class java.lang.Object
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[52,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[61,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[66,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[78,6]
non-static variable super cannot be referenced from a static context
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[78,11]
cannot find symbol
[ERROR] symbol  : method setConf(org.apache.hadoop.conf.Configuration)
[ERROR] location: class java.lang.Object
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[76,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[84,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[89,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[126,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[166,4]
method does not override or implement a method from a supertype
[ERROR]
/home/jadler/dev/crunch/crunch/src/main/java/org/apache/crunch/lib/sort/Comparators.java:[171,4]
method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :crunch

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message