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

Owen O'Malley commented on HADOOP-10430:
----------------------------------------

The cost of method calls is measured in nanoseconds. :) So the loop is 
basically free unless you have millions of keys.

I do *not* think you should use this API as your on the wire protocol. The wire 
protocol *should* have a windowed accessor.

> 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)

Reply via email to