[jira] [Updated] (HBASE-19111) Add missing CellUtil#isXXX(Cell) methods

2017-11-03 Thread Josh Elser (JIRA)

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

Josh Elser updated HBASE-19111:
---
Attachment: HBASE-19111.002.branch-2.patch

.002 rebased on branch-2. Also removed some javadoc warnings in 
TestFromClientSide which were bugging me.

> Add missing CellUtil#isXXX(Cell) methods
> 
>
> Key: HBASE-19111
> URL: https://issues.apache.org/jira/browse/HBASE-19111
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Josh Elser
>Assignee: Josh Elser
>Priority: Critical
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19111.001.branch-2.patch, 
> HBASE-19111.002.branch-2.patch
>
>
> Over in HBASE-19002 while trying to write some RegionObservers, I found that 
> I couldn't find a public-API method to determine if a Cell was for a Put. We 
> seem to only have API for determining if it's a Delete.
> Let's get some methods added to CellUtil for users to consume.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-19111) Add missing CellUtil#isXXX(Cell) methods

2017-10-27 Thread Josh Elser (JIRA)

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

Josh Elser updated HBASE-19111:
---
Status: Patch Available  (was: Open)

> Add missing CellUtil#isXXX(Cell) methods
> 
>
> Key: HBASE-19111
> URL: https://issues.apache.org/jira/browse/HBASE-19111
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Josh Elser
>Assignee: Josh Elser
>Priority: Critical
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19111.001.branch-2.patch
>
>
> Over in HBASE-19002 while trying to write some RegionObservers, I found that 
> I couldn't find a public-API method to determine if a Cell was for a Put. We 
> seem to only have API for determining if it's a Delete.
> Let's get some methods added to CellUtil for users to consume.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-19111) Add missing CellUtil#isXXX(Cell) methods

2017-10-27 Thread Josh Elser (JIRA)

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

Josh Elser updated HBASE-19111:
---
Attachment: HBASE-19111.001.branch-2.patch

.001 Adds {{CellUtil#isPut(Cell)}}, marks {{Cell#getType()}} and 
{{CellUtil#isDelete(byte)}} as deprecated. Trivial test case added too.

> Add missing CellUtil#isXXX(Cell) methods
> 
>
> Key: HBASE-19111
> URL: https://issues.apache.org/jira/browse/HBASE-19111
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Josh Elser
>Assignee: Josh Elser
>Priority: Critical
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19111.001.branch-2.patch
>
>
> Over in HBASE-19002 while trying to write some RegionObservers, I found that 
> I couldn't find a public-API method to determine if a Cell was for a Put. We 
> seem to only have API for determining if it's a Delete.
> Let's get some methods added to CellUtil for users to consume.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)