[ 
https://issues.apache.org/jira/browse/HADOOP-17432?focusedWorklogId=545738&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-545738
 ]

ASF GitHub Bot logged work on HADOOP-17432:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Feb/21 02:29
            Start Date: 02/Feb/21 02:29
    Worklog Time Spent: 10m 
      Work Description: theRealELiu commented on pull request #2546:
URL: https://github.com/apache/hadoop/pull/2546#issuecomment-771303789


   Have you tried that if 
   ```
   export YARN_OPTS="--illegal-access=permit"
   export YARN_OPTS="--illegal-access=permit"
   ```
   
   could solve the problem as a workaround?
   @aajisaka 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 545738)
    Time Spent: 40m  (was: 0.5h)

> [JDK 16] KerberosUtil#getOidInstance is broken by JEP 396
> ---------------------------------------------------------
>
>                 Key: HADOOP-17432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17432
>             Project: Hadoop Common
>          Issue Type: Sub-task
>         Environment: Java 16-ea+28
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> JEP 396 (Strongly Encapsulate JDK Internals by Default) has been migrated 
> since Java 16 EA Build 28. Calling the internal APIs (except the critical 
> APIs such as sun.misc.Unsafe) are banned by default.
> {noformat}
> [INFO] Running 
> org.apache.hadoop.security.authentication.server.TestAltKerberosAuthenticationHandler
> [ERROR] Tests run: 16, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
> 17.323 s <<< FAILURE! - in 
> org.apache.hadoop.security.authentication.server.TestAltKerberosAuthenticationHandler
> [ERROR] 
> testNonDefaultNonBrowserUserAgentAsNonBrowser(org.apache.hadoop.security.authentication.server.TestAltKerberosAuthenticationHandler)
>   Time elapsed: 1.272 s  <<< ERROR!
> java.lang.IllegalAccessException: class 
> org.apache.hadoop.security.authentication.util.KerberosUtil cannot access 
> class sun.security.jgss.GSSUtil (in module java.security.jgss) because module 
> java.security.jgss does not export sun.security.jgss to unnamed module 
> @48967c8b
>       at 
> java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:385)
>       at 
> java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:687)
>       at java.base/java.lang.reflect.Field.checkAccess(Field.java:1096)
>       at java.base/java.lang.reflect.Field.get(Field.java:417)
>       at 
> org.apache.hadoop.security.authentication.util.KerberosUtil.getOidInstance(KerberosUtil.java:90)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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