hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjunath Anand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17469) Properly handle empty TableName in TablePermission#readFields and #write
Date Tue, 17 Jan 2017 03:46:26 GMT

    [ 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 [~yuzhihong@gmail.com] 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()

This message was sent by Atlassian JIRA

View raw message