[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-10866: --- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.0.0-alpha2 Status: Resolved (was: Patch Available) I just committed patch 001 to trunk. > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Fix For: 3.0.0-alpha2 > > Attachments: HDFS-10866.01.patch, IntelliJ.png, Screen Shot > 2016-09-19 at 1.50.22 PM.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-10866: --- Attachment: (was: HDFS-10866.02.patch) > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Fix For: 3.0.0-alpha2 > > Attachments: HDFS-10866.01.patch, IntelliJ.png, Screen Shot > 2016-09-19 at 1.50.22 PM.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhe Zhang updated HDFS-10866: - Attachment: Screen Shot 2016-09-19 at 1.50.22 PM.png Thanks Konstantin. v2 patch works for my IntelliJ installation (see version in attached image). +1 (let's wait for Akira to confirm). > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Attachments: HDFS-10866.01.patch, HDFS-10866.02.patch, IntelliJ.png, > Screen Shot 2016-09-19 at 1.50.22 PM.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-10866: --- Attachment: HDFS-10866.02.patch > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Attachments: HDFS-10866.01.patch, HDFS-10866.02.patch, IntelliJ.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira Ajisaka updated HDFS-10866: - Attachment: IntelliJ.png I tried your patch and got the following error in IntelliJ IDEA 2016.2.4. !IntelliJ.png! How about using {{verify(fs, never()).setDelegationToken((Token)any())}} instead? > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Attachments: HDFS-10866.01.patch, IntelliJ.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-10866: --- Status: Patch Available (was: In Progress) > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko >Assignee: Konstantin Shvachko > Attachments: HDFS-10866.01.patch > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters.
[ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-10866: --- Attachment: HDFS-10866.01.patch Simple patch, which fixes eclipse build for me and removes a bunch of warnings. * For (1) it just adds {{}} for the generic type in variable declaration. * For (2) I just used less type specific {{any()}} instead of {{any(Token.class)}}. > Fix Eclipse Java 8 compile errors related to generic parameters. > > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Konstantin Shvachko > Attachments: HDFS-10866.01.patch > > > Compilation with Java 8 in Eclipse returns errors, which are related to the > use of generics. This does not effect command line maven builds and is > confirmed to be a [bug in > Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is > scheduled only for the next release, so all of us using Eclipse now will have > that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a > warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org