[
https://issues.apache.org/jira/browse/HDFS-9784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139402#comment-15139402
]
Hudson commented on HDFS-9784:
------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #9268 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/9268/])
HDFS-9784. Example usage is not correct in Transparent Encryption (aajisaka:
rev 60d2011b7c0fe55b8bc44a141660d3e2df37a68d)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md
> Example usage is not correct in Transparent Encryption document
> ---------------------------------------------------------------
>
> Key: HDFS-9784
> URL: https://issues.apache.org/jira/browse/HDFS-9784
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation
> Affects Versions: 3.0.0, 2.7.2
> Reporter: Takashi Ohnishi
> Assignee: Takashi Ohnishi
> Fix For: 2.8.0, 2.7.3
>
> Attachments: HADOOP-12779.1.patch
>
>
> It says
> {code}
> # As the normal user, create a new encryption key
> hadoop key create myKey
> {code}
> But, this actually fails with the below error.
> {code}
> $ hadoop key create myKey
> java.lang.IllegalArgumentException: Uppercase key names are unsupported: myKey
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at
> org.apache.hadoop.util.HttpExceptionUtils.validateResponse(HttpExceptionUtils.java:157)
> at
> org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:546)
> at
> org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:504)
> at
> org.apache.hadoop.crypto.key.kms.KMSClientProvider.createKeyInternal(KMSClientProvider.java:677)
> at
> org.apache.hadoop.crypto.key.kms.KMSClientProvider.createKey(KMSClientProvider.java:685)
> at
> org.apache.hadoop.crypto.key.KeyShell$CreateCommand.execute(KeyShell.java:483)
> at org.apache.hadoop.crypto.key.KeyShell.run(KeyShell.java:79)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.crypto.key.KeyShell.main(KeyShell.java:515)
> {code}
> Though I'm not sure why it is so, I think the document should be fixed to use
> only lowercase in key names.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)