Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1141

Null pointer exception while retrieving the key during copy file

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • Ranger
    • None

    Description

      getting null pointer from kms exception while copying the file in hdfs

      java.lang.NullPointerException
              at org.apache.hadoop.crypto.key.kms.server.KeyAuthorizationKeyProvider.verifyKeyVersionBelongsToKey(KeyAuthorizationKeyProvider.java:211)
              at org.apache.hadoop.crypto.key.kms.server.KeyAuthorizationKeyProvider.decryptEncryptedKey(KeyAuthorizationKeyProvider.java:220)
              at org.apache.hadoop.crypto.key.kms.server.KMS$10.run(KMS.java:455)
              at org.apache.hadoop.crypto.key.kms.server.KMS$10.run(KMS.java:452)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:415)
              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
              at org.apache.hadoop.crypto.key.kms.server.KMS.decryptEncryptedKey(KMS.java:451)
              at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ankita Ankita Sinha
            deepakhuawei Deepak Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment