Wang, Gang created MNEMONIC-664:
-----------------------------------
Summary: Illegal reflective access in KerberosUtil
Key: MNEMONIC-664
URL: https://issues.apache.org/jira/browse/MNEMONIC-664
Project: Mnemonic
Issue Type: Test
Components: TestCase
Affects Versions: 0.16.0
Reporter: Wang, Gang
Assignee: Gordon King
Fix For: 0.16.0
The test case `MneMapreducePersonDataTest` reports an illegal reflective access
warning as
`
[INFO] Running org.apache.mnemonic.mapreduce.MneMapreducePersonDataTest
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by
org.apache.hadoop.security.authentication.util.KerberosUtil
(file:/home/gary/.m2/repository/org/apache/hadoop/hadoop-auth/2.7.3/hadoop-auth-2.7.3.jar)
to method sun.security.krb5.Config.getInstance()
[ERROR] WARNING: Please consider reporting this to the maintainers of
org.apache.hadoop.security.authentication.util.KerberosUtil
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future
release
`
The way to reproduce it is
`mvn -Dtest=MneMapreducePersonDataTest test -pl
mnemonic-hadoop/mnemonic-hadoop-mapreduce -DskipTests=false`
--
This message was sent by Atlassian Jira
(v8.3.4#803005)