incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BLUR-279) Compile Error building Blur-mapred class BlurOutputFormat
Date Tue, 15 Oct 2013 20:06:42 GMT

     [ https://issues.apache.org/jira/browse/BLUR-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron McCurry updated BLUR-279:
-------------------------------

    Affects Version/s: 0.2.1

> 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)

Mime
View raw message