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

Devaraj K commented on HADOOP-16046:
------------------------------------

I think we can have another JIRA in YARN for removing the classes, the compiler 
exclusion configuration can be corrected with this Jira under JDK 11 Umbrella 
jira.

> [JDK 11] 
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet
>  classes make compilation fail
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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
>         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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to