hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (Jira)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-17255) JavaKeyStoreProvider fails to create a new key if the keystore is HDFS
Date Wed, 09 Sep 2020 12:00:14 GMT
Akira Ajisaka created HADOOP-17255:
--------------------------------------

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


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


Mime
View raw message