[
https://issues.apache.org/jira/browse/BLUR-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron McCurry closed BLUR-279.
------------------------------
Resolution: Fixed
https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=515b09a002cbbb67c1ed22af90303a5f69135eb0
https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=e365fb1ca408c8bb6f6e107534dbbca506cc064e
> 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
> Affects Versions: 0.3.0, 0.2.1
> 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
> Fix For: 0.3.0, 0.2.1
>
>
> [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)