[
https://issues.apache.org/jira/browse/HBASE-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438220#comment-13438220
]
Matteo Bertozzi commented on HBASE-5449:
----------------------------------------
@Andrew sorry, maybe I still don't get what you mean but the proto enum doesn't
match with the "real" enum. basically you convert the proto enum in the real
one with something like
{code}
switch (proto.getMyEnumValue()) {
case Proto.MY_ENUM_FIELD_1: return Real.MY_ENUM_FIELD_1;
case Proto.MY_ENUM_FIELD_1: return Real.MY_ENUM_FIELD_2;
}
{code}
this means that you can change the value of the "real" enum whenever you want,
while keeping the protobuf enum the same.
> Support for wire-compatible security functionality
> --------------------------------------------------
>
> Key: HBASE-5449
> URL: https://issues.apache.org/jira/browse/HBASE-5449
> Project: HBase
> Issue Type: Sub-task
> Components: ipc, master, migration, regionserver
> Reporter: Todd Lipcon
> Assignee: Matteo Bertozzi
> Attachments: AccessControl_protos.patch, HBASE-5449-v0.patch,
> HBASE-5449-v1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira