hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8451) DFSClient probe for encryption testing interprets empty URI property for "enabled"
Date Fri, 22 May 2015 15:17:23 GMT

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

Hudson commented on HDFS-8451:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #203 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/203/])
HDFS-8451. DFSClient probe for encryption testing interprets empty URI property for enabled.
Contributed by Steve Loughran. (xyao: rev 05e04f34f27149537fdb89f46af26bee14531ca4)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/KeyProviderCache.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSUtil.java


> DFSClient probe for encryption testing interprets empty URI property for "enabled"
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-8451
>                 URL: https://issues.apache.org/jira/browse/HDFS-8451
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>    Affects Versions: 2.7.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 2.7.1
>
>         Attachments: HDFS-8451-001.patch
>
>   Original Estimate: 1h
>          Time Spent: 0.5h
>  Remaining Estimate: 0.5h
>
> HDFS-7931 added a check in DFSClient for encryption {{isHDFSEncryptionEnabled()}}, looking
for the property {{"dfs.encryption.key.provider.uri"}.
> This probe returns true even if the property is empty.
> If there is an empty provider.uri property, you get an NPE when a YARN client tries to
set up the tokens to deploy an AM.



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

Mime
View raw message