You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2020/11/03 19:15:00 UTC
[jira] [Commented] (HADOOP-17255) JavaKeyStoreProvider fails to
create a new key if the keystore is HDFS
[ https://issues.apache.org/jira/browse/HADOOP-17255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225623#comment-17225623 ]
Wei-Chiu Chuang commented on HADOOP-17255:
------------------------------------------
{quote} * Probably there are many users, so the quality of Ranger KMS is better than that of Hadoop KMS.{quote}
That is dubious. As far as I know, RangerKMS is a fork of HadoopKMS and for the most part, they simply port fixes/features from HadoopKMS over there. There is little commits in the ranger kms too.
Therefore, we should still maintain HadoopKMS code.
> JavaKeyStoreProvider fails to create a new key if the keystore is HDFS
> ----------------------------------------------------------------------
>
> Key: HADOOP-17255
> URL: https://issues.apache.org/jira/browse/HADOOP-17255
> Project: Hadoop Common
> Issue Type: Bug
> Components: kms
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The caller of JavaKeyStoreProvider#renameOrFail assumes that it throws FileNotFoundException if the src does not exist. However, JavaKeyStoreProvider#renameOrFail calls the old rename API. In DistributedFileSystem, the old API returns false if the src does not exist.
> That way JavaKeyStoreProvider fails to create a new key if the keystore is HDFS.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org