Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-664

Illegal reflective access in KerberosUtil

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • TestCase
    • None

    Description

      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`

      Attachments

        Activity

          People

            chunyonghe Chunyong He
            qichfan Gordon King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: