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-7931) DistributedFIleSystem should not look for keyProvider in cache if Encryption is disabled
Date Sat, 11 Apr 2015 11:57:18 GMT

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

Hudson commented on HDFS-7931:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #894 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/894/])
HDFS-7931. DistributedFileSystem should not look for keyProvider in cache if Encryption is
disabled (asuresh) (Arun Suresh: rev 7660da95cb67cbfe034aa8fa2a5bf0f8c9fdf41a)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java


> DistributedFIleSystem should not look for keyProvider in cache if Encryption is disabled

> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-7931
>                 URL: https://issues.apache.org/jira/browse/HDFS-7931
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.7.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Minor
>             Fix For: 2.7.1
>
>         Attachments: HDFS-7931.1.patch, HDFS-7931.2.patch, HDFS-7931.2.patch, HDFS-7931.3.patch
>
>
> The {{addDelegationTokens}} method in {{DistributedFileSystem}} calls {{DFSClient#getKeyProvider()}}
which attempts to get a provider from the {{KeyProvderCache}} but since the required key,
*dfs.encryption.key.provider.uri* is not present (due to encryption being dissabled), it throws
an exception.
> {noformat}
> 2015-03-11 23:55:47,849 [JobControl] ER ROR org.apache.hadoop.hdfs.KeyProviderCache -
Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider !!
> {noformat}



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

Mime
View raw message