[ 
https://issues.apache.org/jira/browse/HADOOP-9734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Lowe updated HADOOP-9734:
-------------------------------

    Attachment: HADOOP-9734.patch

Patch to move the three protobuf definitions and glue code from HDFS to Common. 
 I placed the protocol buffer glue code under tools.protocolPB for 
GetUserMappings and security.protocolPB for Refresh* to match the same kind of 
layout being used for the HA code in common.  However I don't care too much 
about the exact packages for the generated protocol buffer code and glue code, 
so comments are welcome.

If desired I should be able to split the patch into two pieces, add-to-common 
and delete-from-hdfs.
                
> Common protobuf definitions for GetUserMappingsProtocol, 
> RefreshAuthorizationPolicyProtocol and RefreshUserMappingsProtocol
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9734
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9734
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 2.0.4-alpha
>            Reporter: Jason Lowe
>            Priority: Minor
>         Attachments: HADOOP-9734.patch
>
>
> Many of the Hadoop server daemons support the concept of refreshing user 
> mappings or getting the currently cached user-group mappings.  Currently 
> there are protocol buffer definitions of RefreshUserMappingsProtocol and 
> GetUserMappingsProtocol in HDFS, but using it requires packages to depend 
> upon HDFS when they may otherwise have no reason to do so.  We should move 
> the protocol buffer definitions and glue code to common for easier reuse.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to