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

Manjunath Anand commented on HBASE-17469:
-----------------------------------------

Hi [[email protected]] I have come up with a initial patch which addresses 
the issue with TablePermission#readFields and #write in a backward compatible 
way as you mentioned. I found the toString() method if-elseif-else condition 
wrong and also wanted to know if I can add null check for table in implies and 
matchesFamily methods and fix the toString() method as well as part of this 
JIRA. 

I found a potential bug in AccessControlUtil#toTablePermission during testing 
and will raise a seperate JIRA soon.

> Properly handle empty TableName in TablePermission#readFields and #write
> ------------------------------------------------------------------------
>
>                 Key: HBASE-17469
>                 URL: https://issues.apache.org/jira/browse/HBASE-17469
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Manjunath Anand
>         Attachments: HBASE-17469.master.001.patch
>
>
> HBASE-17450 handles the empty table name in equals().
> This JIRA is to properly handle empty TableName in 
> TablePermission#readFields() and TablePermission#write() methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to