hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-16046) [JDK 11] Correct the compiler exclusion of org/apache/hadoop/yarn/webapp/hamlet/** classes for >= Java 9
Date Mon, 04 Feb 2019 02:41:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-16046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759600#comment-16759600
] 

Akira Ajisaka commented on HADOOP-16046:
----------------------------------------

Filed YARN-9279 to remove the old hamlet package.

> [JDK 11] Correct the compiler exclusion of org/apache/hadoop/yarn/webapp/hamlet/** classes
for >= Java 9 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16046
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16046
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: HADOOP-16046.patch
>
>
> I see that YARN-8123 handled it but still see that this fails with "mvn compile".
> {code:xml}
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletSpec.java:[306,20]
as of release 9, '_' is a keyword, and may not be used as an identifier
> ...............
> {code}
> {code:xml}
> [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/webapp/hamlet/TestHamlet.java:[40,24]
as of release 9, '_' is a keyword, and may not be used as an identifier
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message