[
https://issues.apache.org/jira/browse/HADOOP-10430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971672#comment-13971672
]
Owen O'Malley commented on HADOOP-10430:
----------------------------------------
If you do the iteration in the client, you have a lot of options. In particular
the latency is much lower if you do:
{code}
for(String name: provider.getKeys()) {
Metadata meta = provider.getMetadata(name);
System.out.println(name + " " + meta.getDescription());
}
{code}
than if you force it to build the entire database in memory before you do
anything.
> KeyProvider Metadata should have an optional description, there should be a
> method to retrieve the metadata from all keys
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-10430
> URL: https://issues.apache.org/jira/browse/HADOOP-10430
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 3.0.0
>
> Attachments: HADOOP-10430.patch, HADOOP-10430.patch,
> HADOOP-10430.patch, HADOOP-10430.patch
>
>
> Being able to attach an optional description (and show it when displaying
> metadata) will enable giving some context on the keys.
--
This message was sent by Atlassian JIRA
(v6.2#6252)