Trying to build the project via 'mvn clean package', the build fails always
with the folllowing error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project flink-java: Compilation failure [ERROR] /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] org.apache.flink.api.java.operators.CoGroupOperator is not abstract and does not override abstract method translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) in org.apache.flink.api.java.operators.TwoInputOperator Am I missing something here? |
Hey Suneel!
Which branch are you referring to? Also, which Java Version do you use? Java 6 (earlier versions) has some limitations to matching generic method signatures and cannot identify the correct overriding method. Stephan Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: > Trying to build the project via 'mvn clean package', the build fails always > with the folllowing error: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project flink-java: Compilation failure > [ERROR] > > /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] > org.apache.flink.api.java.operators.CoGroupOperator is not abstract and > does not override abstract method > > translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) > in org.apache.flink.api.java.operators.TwoInputOperator > > > Am I missing something here? > |
I am using Java 7. This is from https://github.com/apache/incubator-flink,
was I looking in the wrong place ? On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[hidden email]> wrote: > Hey Suneel! > > Which branch are you referring to? > > Also, which Java Version do you use? Java 6 (earlier versions) has some > limitations to matching generic method signatures and cannot identify the > correct overriding method. > > Stephan > > > Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: > > > Trying to build the project via 'mvn clean package', the build fails > always > > with the folllowing error: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > > (default-compile) on project flink-java: Compilation failure > > [ERROR] > > > > > /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] > > org.apache.flink.api.java.operators.CoGroupOperator is not abstract and > > does not override abstract method > > > > > translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) > > in org.apache.flink.api.java.operators.TwoInputOperator > > > > > > Am I missing something here? > > > |
Scratch that. It does work with Java 7. I think Java 7 should be made
mandatory?? On Thu, Oct 30, 2014 at 7:43 AM, Suneel Marthi <[hidden email]> wrote: > I am using Java 7. This is from https://github.com/apache/incubator-flink, > was I looking in the wrong place ? > > > On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[hidden email]> wrote: > >> Hey Suneel! >> >> Which branch are you referring to? >> >> Also, which Java Version do you use? Java 6 (earlier versions) has some >> limitations to matching generic method signatures and cannot identify the >> correct overriding method. >> >> Stephan >> >> >> Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: >> >> > Trying to build the project via 'mvn clean package', the build fails >> always >> > with the folllowing error: >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile >> > (default-compile) on project flink-java: Compilation failure >> > [ERROR] >> > >> > >> /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] >> > org.apache.flink.api.java.operators.CoGroupOperator is not abstract and >> > does not override abstract method >> > >> > >> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) >> > in org.apache.flink.api.java.operators.TwoInputOperator >> > >> > >> > Am I missing something here? >> > >> > > |
I think it also works with openJDK 6, just not with OracleJDK 6 . The
problem you encounter is a known bug in Oracle JDK 6, but will not be fixed since they stopped supporting java 6. To run it, java 6 is also fine, it is really only a limitation in the oracle java 6 compiler. On Thu, Oct 30, 2014 at 12:47 PM, Suneel Marthi <[hidden email]> wrote: > Scratch that. It does work with Java 7. I think Java 7 should be made > mandatory?? > > On Thu, Oct 30, 2014 at 7:43 AM, Suneel Marthi <[hidden email]> > wrote: > > > I am using Java 7. This is from > https://github.com/apache/incubator-flink, > > was I looking in the wrong place ? > > > > > > On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[hidden email]> wrote: > > > >> Hey Suneel! > >> > >> Which branch are you referring to? > >> > >> Also, which Java Version do you use? Java 6 (earlier versions) has some > >> limitations to matching generic method signatures and cannot identify > the > >> correct overriding method. > >> > >> Stephan > >> > >> > >> Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: > >> > >> > Trying to build the project via 'mvn clean package', the build fails > >> always > >> > with the folllowing error: > >> > > >> > [ERROR] Failed to execute goal > >> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > >> > (default-compile) on project flink-java: Compilation failure > >> > [ERROR] > >> > > >> > > >> > /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] > >> > org.apache.flink.api.java.operators.CoGroupOperator is not abstract > and > >> > does not override abstract method > >> > > >> > > >> > translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) > >> > in org.apache.flink.api.java.operators.TwoInputOperator > >> > > >> > > >> > Am I missing something here? > >> > > >> > > > > > |
BTW: There is a discussion to bump the required version to java 7. Decision
pending... On Thu, Oct 30, 2014 at 2:00 PM, Stephan Ewen <[hidden email]> wrote: > I think it also works with openJDK 6, just not with OracleJDK 6 . The > problem you encounter is a known bug in Oracle JDK 6, but will not be fixed > since they stopped supporting java 6. > > To run it, java 6 is also fine, it is really only a limitation in the > oracle java 6 compiler. > > > On Thu, Oct 30, 2014 at 12:47 PM, Suneel Marthi <[hidden email]> > wrote: > >> Scratch that. It does work with Java 7. I think Java 7 should be made >> mandatory?? >> >> On Thu, Oct 30, 2014 at 7:43 AM, Suneel Marthi <[hidden email]> >> wrote: >> >> > I am using Java 7. This is from >> https://github.com/apache/incubator-flink, >> > was I looking in the wrong place ? >> > >> > >> > On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[hidden email]> wrote: >> > >> >> Hey Suneel! >> >> >> >> Which branch are you referring to? >> >> >> >> Also, which Java Version do you use? Java 6 (earlier versions) has some >> >> limitations to matching generic method signatures and cannot identify >> the >> >> correct overriding method. >> >> >> >> Stephan >> >> >> >> >> >> Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: >> >> >> >> > Trying to build the project via 'mvn clean package', the build fails >> >> always >> >> > with the folllowing error: >> >> > >> >> > [ERROR] Failed to execute goal >> >> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile >> >> > (default-compile) on project flink-java: Compilation failure >> >> > [ERROR] >> >> > >> >> > >> >> >> /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] >> >> > org.apache.flink.api.java.operators.CoGroupOperator is not abstract >> and >> >> > does not override abstract method >> >> > >> >> > >> >> >> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) >> >> > in org.apache.flink.api.java.operators.TwoInputOperator >> >> > >> >> > >> >> > Am I missing something here? >> >> > >> >> >> > >> > >> > > |
It shuld happen as Java 6 is nearing EOL
Sent from my iPhone > On Oct 30, 2014, at 9:00 AM, Stephan Ewen <[hidden email]> wrote: > > BTW: There is a discussion to bump the required version to java 7. Decision > pending... > >> On Thu, Oct 30, 2014 at 2:00 PM, Stephan Ewen <[hidden email]> wrote: >> >> I think it also works with openJDK 6, just not with OracleJDK 6 . The >> problem you encounter is a known bug in Oracle JDK 6, but will not be fixed >> since they stopped supporting java 6. >> >> To run it, java 6 is also fine, it is really only a limitation in the >> oracle java 6 compiler. >> >> >> On Thu, Oct 30, 2014 at 12:47 PM, Suneel Marthi <[hidden email]> >> wrote: >> >>> Scratch that. It does work with Java 7. I think Java 7 should be made >>> mandatory?? >>> >>> On Thu, Oct 30, 2014 at 7:43 AM, Suneel Marthi <[hidden email]> >>> wrote: >>> >>>> I am using Java 7. This is from >>> https://github.com/apache/incubator-flink, >>>> was I looking in the wrong place ? >>>> >>>> >>>>> On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[hidden email]> wrote: >>>>> >>>>> Hey Suneel! >>>>> >>>>> Which branch are you referring to? >>>>> >>>>> Also, which Java Version do you use? Java 6 (earlier versions) has some >>>>> limitations to matching generic method signatures and cannot identify >>> the >>>>> correct overriding method. >>>>> >>>>> Stephan >>>>> >>>>> >>>>> Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[hidden email]>: >>>>> >>>>>> Trying to build the project via 'mvn clean package', the build fails >>>>> always >>>>>> with the folllowing error: >>>>>> >>>>>> [ERROR] Failed to execute goal >>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile >>>>>> (default-compile) on project flink-java: Compilation failure >>>>>> [ERROR] >>> /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] >>>>>> org.apache.flink.api.java.operators.CoGroupOperator is not abstract >>> and >>>>>> does not override abstract method >>> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) >>>>>> in org.apache.flink.api.java.operators.TwoInputOperator >>>>>> >>>>>> >>>>>> Am I missing something here? >> >> |
Free forum by Nabble | Edit this page |