You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/05/21 11:48:01 UTC

[jira] [Created] (HDFS-8451) DFSClient probe for encryption testing interprets empty URI property for "enabled"

Steve Loughran created HDFS-8451:
------------------------------------

             Summary: 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


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)