hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7931) Spurious Error message "Could not find uri with key [dfs.encryption.key.provider.uri] to create a key" appears even when Encryption is dissabled
Date Mon, 23 Mar 2015 18:37:54 GMT

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

Xiaoyu Yao commented on HDFS-7931:
----------------------------------

The V2 patch looks good to me. +1 (non-binding)

> Spurious Error message "Could not find uri with key [dfs.encryption.key.provider.uri]
to create a key" appears even when Encryption is dissabled
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7931
>                 URL: https://issues.apache.org/jira/browse/HDFS-7931
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: dfsclient
>    Affects Versions: 2.7.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Minor
>         Attachments: HDFS-7931.1.patch, HDFS-7931.2.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