hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13148) Unit test for EZ with KMS and Federation
Date Tue, 17 Apr 2018 23:01:00 GMT

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

Xiao Chen commented on HDFS-13148:
----------------------------------

Thanks [~hanishakoneru] for working on this and Xiaoyu / Rushabh for reviews.

What is the goal of the improved testing? It seems we're trying make sure if there are 2 HDFS
clusters with the same KMS, they will each work correctly. Although in theory KMS isn't impacted
by HDFS, I agree having a test to cover it is nice.

I think a more interesting test is with viewfs: have a federated cluster, and make sure all
[CryptoAdmin CLIs|http://hadoop.apache.org/docs/r3.0.0/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#crypto_command-line_interface]
work as expected. For example, does -listZones return a union of the 2 clusters? (We may end
up with less line of codes if this is covered as a new TestCryptoAdminCLIWithFederation class
and the test case in xml, but don't feel strongly)

> Unit test for EZ with KMS and Federation
> ----------------------------------------
>
>                 Key: HDFS-13148
>                 URL: https://issues.apache.org/jira/browse/HDFS-13148
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>         Attachments: HDFS-13148.001.patch, HDFS-13148.002.patch, HDFS-13148.003.patch
>
>
> It would be good to have some unit tests for testing KMS and EZ on a federated cluster. We
can start with basic EZ operations. For example, create EZs on two namespaces with different
keys using one KMS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message