[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-08-21 Thread Matteo Bertozzi (JIRA)

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

Matteo Bertozzi updated HBASE-5449:
---

Attachment: HBASE-5449-v2.patch

Attached a new patch.

The throw if the if the Action doesn't match the enum during the conversion is 
still there, since I've verified that by calling the  getActionList(), protobuf 
does already the work of filtering the unknown enum values.

 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, HBASE-5449-v2.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




[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-08-21 Thread Matteo Bertozzi (JIRA)

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

Matteo Bertozzi updated HBASE-5449:
---

Status: Patch Available  (was: Open)

 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, HBASE-5449-v2.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




[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-08-19 Thread Matteo Bertozzi (JIRA)

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

Matteo Bertozzi updated HBASE-5449:
---

Attachment: HBASE-5449-v1.patch

Added v1 patch using Gary's protobuf, that removes the TablePermission (merged 
with Permission).

Thanks Gary!

 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




[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-08-18 Thread Matteo Bertozzi (JIRA)

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

Matteo Bertozzi updated HBASE-5449:
---

Attachment: HBASE-5449-v0.patch

First draft of protobuf conversion, 
patch without compiled protobuf available at https://reviews.apache.org/r/6689/

This patch just switch the current serialization code to protobuf.

but I think that we can remove, or change, some stuff during this conversion.
Currently there're 3 classes
 * Permission
 * TablePermission : Permission
 * UserPermission : TablePermission

UserPermission is the public class used by the shell to describe a user 
permission...
Can be a global permission that means just username + actions (RWXCA) or a 
table permission username + actions + table + cf + qualifier..

Permission is never used directly (there's just one ref in the shell, but just 
for printing)

TablePermission is the main class used, and The znode contains a ListMultimap 
(user: [table permission])

Maybe we can remove the inheritance UserPermission - TablePermission - 
Permission, change the Permission in an Abstract class and maybe something 
else...

any thoughts?

 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: HBASE-5449-v0.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




[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-08-18 Thread Gary Helmling (JIRA)

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

Gary Helmling updated HBASE-5449:
-

Attachment: AccessControl_protos.patch

Attaching the AccessControl.proto and ProtobufUtil helpers from the patch I've 
been working on for HBASE-5448.  Hopefully they will be of use.  Make whatever 
modifications you need to, I can always rebase 5448 off of whatever changes.

 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




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




[jira] [Updated] (HBASE-5449) Support for wire-compatible security functionality

2012-02-22 Thread Lars Hofhansl (Updated) (JIRA)

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

Lars Hofhansl updated HBASE-5449:
-

Assignee: Jesse Yates  (was: Lars Hofhansl)

 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: Jesse Yates



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