[jira] [Updated] (HBASE-17450) TablePermission.equals throws NPE after support namespace

2017-01-13 Thread huzheng (JIRA)

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

huzheng updated HBASE-17450:

Status: Patch Available  (was: Open)

> TablePermission.equals throws NPE  after support namespace 
> ---
>
> Key: HBASE-17450
> URL: https://issues.apache.org/jira/browse/HBASE-17450
> Project: HBase
>  Issue Type: Bug
>  Components: findbugs
>Reporter: huzheng
>Assignee: huzheng
> Attachments: HBASE-17450.v1.patch
>
>
> below unit test will throws NullPointerException:  
> {code}
> p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> assertEquals(p1, p2);
> {code}
> this bug was introduced after constructor of TablePermission  for namespace 
> provided. 



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


[jira] [Updated] (HBASE-17450) TablePermission.equals throws NPE after support namespace

2017-01-13 Thread huzheng (JIRA)

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

huzheng updated HBASE-17450:

Attachment: HBASE-17450.v1.patch

> TablePermission.equals throws NPE  after support namespace 
> ---
>
> Key: HBASE-17450
> URL: https://issues.apache.org/jira/browse/HBASE-17450
> Project: HBase
>  Issue Type: Bug
>  Components: findbugs
>Reporter: huzheng
>Assignee: huzheng
> Attachments: HBASE-17450.v1.patch
>
>
> below unit test will throws NullPointerException:  
> {code}
> p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> assertEquals(p1, p2);
> {code}
> this bug was introduced after constructor of TablePermission  for namespace 
> provided. 



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


[jira] [Updated] (HBASE-17450) TablePermission.equals throws NPE after support namespace

2017-01-11 Thread huzheng (JIRA)

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

huzheng updated HBASE-17450:

Description: 
below unit test will throws NullPointerException:  

{code}
p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
assertEquals(p1, p2);
{code}

this bug was introduced after constructor of TablePermission  for namespace 
provided. 

  was:
below unit test will throws NullPointerException:  

{code}
p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
assertEquals(p1, p2);
{code}

this bug was introduced after construct method for namespace provided. 


> TablePermission.equals throws NPE  after support namespace 
> ---
>
> Key: HBASE-17450
> URL: https://issues.apache.org/jira/browse/HBASE-17450
> Project: HBase
>  Issue Type: Bug
>  Components: findbugs
>Reporter: huzheng
>Assignee: huzheng
>
> below unit test will throws NullPointerException:  
> {code}
> p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
> assertEquals(p1, p2);
> {code}
> this bug was introduced after constructor of TablePermission  for namespace 
> provided. 



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