[
https://issues.apache.org/jira/browse/HADOOP-10937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085552#comment-14085552
]
Hadoop QA commented on HADOOP-10937:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12659750/HADOOP-10937.2.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javadoc{color}. There were no new javadoc warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with
eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 2.0.3) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
hadoop-common-project/hadoop-common.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-HADOOP-Build/4425//testReport/
Console output:
https://builds.apache.org/job/PreCommit-HADOOP-Build/4425//console
This message is automatically generated.
> Fix NullPointerException when touchz-ing a file
> -----------------------------------------------
>
> Key: HADOOP-10937
> URL: https://issues.apache.org/jira/browse/HADOOP-10937
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Arun Suresh
> Assignee: Arun Suresh
> Attachments: HADOOP-10937.1.patch, HADOOP-10937.2.patch
>
>
> Touchz-ing a file results in a Null Pointer Exception
> {noformat}
> [hdfs@mynode hadoop-common]$ hdfs dfs -touchz /enc3/touchFIle
> 2014-08-01 08:45:10,148 INFO [main] hdfs.DFSClient
> (DFSClient.java:<init>(605)) - Found KeyProvider: KeyProviderCryptoExtension:
> KMSClientProvider[http://mynode.myhost.com:16000/kms/v1/]
> -touchz: Fatal internal error
> java.lang.NullPointerException
> at
> org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:652)
> at
> org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:342)
> at
> org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1319)
> at
> org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1364)
> at
> org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1352)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:391)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:384)
> at
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:384)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:328)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)