hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11110) JavaKeystoreProvider should not report a key as created if it was not flushed to the backing file
Date Fri, 19 Sep 2014 01:40:34 GMT
Andrew Wang created HADOOP-11110:
------------------------------------

             Summary: JavaKeystoreProvider should not report a key as created if it was not
flushed to the backing file
                 Key: HADOOP-11110
                 URL: https://issues.apache.org/jira/browse/HADOOP-11110
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Andrew Wang


Testing with the KMS backed by JKS reveals the following:

{noformat}
[root@dlo-4 ~]# hadoop key create testkey -provider kms://http@localhost:16000/kms
testkey has not been created. Mkdirs failed to create file:xxxxx
....<stack trace>....

[root@dlo-4 ~]# hadoop key list -provider kms://http@localhost:16000/kms
Listing keys for KeyProvider: KMSClientProvider[http://localhost:16000/kms/v1/]
testkey
{noformat}

The JKS still has the key in memory and serves it up, but will disappear if the KMS is restarted
since it's not flushed to the file.



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

Mime
View raw message