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

Yongjun Zhang commented on HADOOP-11312:
----------------------------------------

Thanks Andrew for working on this. For reference:

https://builds.apache.org/job/Hadoop-Hdfs-trunk/1937/testReport/junit/org.apache.hadoop.hdfs/TestEncryptionZones/testVersionAndSuiteNegotiation/

{code}
Regression

org.apache.hadoop.hdfs.TestEncryptionZones.testVersionAndSuiteNegotiation

Failing for the past 1 build (Since Failed#1937 )
Took 3.3 sec.
Error Message

Uppercase key names are unsupported: testKey
Stacktrace

java.lang.IllegalArgumentException: Uppercase key names are unsupported: testKey
        at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
        at 
org.apache.hadoop.crypto.key.JavaKeyStoreProvider.createKey(JavaKeyStoreProvider.java:427)
        at 
org.apache.hadoop.crypto.key.KeyProvider.createKey(KeyProvider.java:515)
        at 
org.apache.hadoop.crypto.key.KeyProviderExtension.createKey(KeyProviderExtension.java:74)
        at org.apache.hadoop.hdfs.DFSTestUtil.createKey(DFSTestUtil.java:1498)
        at org.apache.hadoop.hdfs.DFSTestUtil.createKey(DFSTestUtil.java:1479)
        at 
org.apache.hadoop.hdfs.TestEncryptionZones.setup(TestEncryptionZones.java:154)
{code}

Maybe we can add this to the jira description area?

Thanks.


> Fix unit tests to not use uppercase key names
> ---------------------------------------------
>
>                 Key: HADOOP-11312
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11312
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.7.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hadoop-11312.001.patch, hadoop-11312.002.patch, 
> hadoop-11312.003.patch
>
>
> After HADOOP-11311 uppercase key names aren't allowed, breaking some unit 
> tests. Let's fix them.



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

Reply via email to