hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11355) When accessing data in HDFS and the key has been deleted, a Null Pointer Exception is shown.
Date Sat, 06 Dec 2014 11:35:16 GMT

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

Hudson commented on HADOOP-11355:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #766 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/766/])
HADOOP-11355. When accessing data in HDFS and the key has been deleted, a Null Pointer Exception
is shown. Contributed by Arun Suresh. (wang: rev 9cdaec6a6f6cb1680ad6e44d7b0c8d70cdcbe3fa)
* hadoop-common-project/hadoop-kms/src/test/java/org/apache/hadoop/crypto/key/kms/server/TestKMS.java
* hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KeyAuthorizationKeyProvider.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> When accessing data in HDFS and the key has been deleted, a Null Pointer Exception is
shown.
> --------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11355
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11355.1.patch
>
>
> When using the KMS with the file based keystore we can see this error when trying to
access an encryption zone that got his key deleted:
> {noformat}
> KMSClientProvider[http://foo.bar.com:16000/kms/v1/] has been updated.
> hdfs@foo:~$ hadoop fs -tail /user/systest/zones/n3bg0hfvyvjwvwuc/terasort/part-00000
> -tail: Fatal internal error
> java.lang.NullPointerException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at org.apache.hadoop.util.HttpExceptionUtils.validateResponse(HttpExceptionUtils.java:157)
>         at org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:484)
>         at org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:442)
>         at org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:716)
>         at org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:388)
>         at org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1317)
>         at org.apache.hadoop.hdfs.DFSClient.createWrappedInputStream(DFSClient.java:1384)
>         at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:303)
>         at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:297)
>         at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:297)
>         at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:766)
>         at org.apache.hadoop.fs.shell.Tail.dumpFromOffset(Tail.java:92)
>         at org.apache.hadoop.fs.shell.Tail.processPath(Tail.java:73)
>         at org.apache.hadoop.fs.shell.Command.processPaths(Command.java:306)
>         at org.apache.hadoop.fs.shell.Command.processPathArgument(Command.java:278)
>         at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:260)
>         at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:244)
>         at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:190)
>         at org.apache.hadoop.fs.shell.Command.run(Command.java:154)
>         at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message