Garrett Barton created BLUR-279:
-----------------------------------
Summary: Compile Error building Blur-mapred class BlurOutputFormat
Key: BLUR-279
URL: https://issues.apache.org/jira/browse/BLUR-279
Project: Apache Blur
Issue Type: Bug
Environment: gman@gman-minty ~/workspace/incubator-blur $ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"
gman@gman-minty ~/workspace/incubator-blur $
Reporter: Garrett Barton
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project blur-mapred: Compilation failure
[ERROR]
/home/gman/workspace/incubator-blur/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java:[421,27]
<anonymous org.apache.blur.mapreduce.lib.BlurOutputFormat$BlurRecordWriter$1>
is not abstract and does not override abstract method getUnderlyingCounter() in
org.apache.hadoop.mapreduce.Counter
Caused because of this anonymous implementation of the Counter does not have
getUnderlyingCounter() implemented. Seems to only happen on some compiler
versions, I can cause it on 1.6.0_45 yet seems to pass on 1.6.0_31.
Suggest implementing the method even if it does nothing.
private Counter emptyCounter() {
return new Counter() {
};
}
--
This message was sent by Atlassian JIRA
(v6.1#6144)