[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2017-04-12 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-17076:
---
Resolution: Won't Do
Status: Resolved  (was: Patch Available)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch, HBASE-17076-v3.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-21 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Patch Available  (was: Open)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch, HBASE-17076-v3.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-21 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Attachment: HBASE-17076-v3.patch

retry

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch, HBASE-17076-v3.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-21 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Open  (was: Patch Available)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch, HBASE-17076-v3.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-15 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Attachment: HBASE-17076-v2.patch

The HBASE-17082 is resolved. Re-run the QA.

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-15 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Patch Available  (was: Open)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch, 
> HBASE-17076-v2.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-15 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Assignee: ChiaPing Tsai
  Status: Open  (was: Patch Available)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Assignee: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-12 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Patch Available  (was: Open)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-12 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Attachment: HBASE-17076-v1.patch

v1.patch address the comment of [~tedyu]].

The unit test for hbase-client and hbase-server is not working (error message 
is "cannot find ForeignExceptionUtil"), it may be a build machine error ?

Retry, and i keep tracking the error.

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch, HBASE-17076-v1.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-12 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Open  (was: Patch Available)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-11 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Attachment: HBASE-17076-v0.patch

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-11 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Status: Patch Available  (was: Open)

> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-17076-v0.patch
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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


[jira] [Updated] (HBASE-17076) implement getAndPut() and getAndDelete()

2016-11-11 Thread ChiaPing Tsai (JIRA)

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

ChiaPing Tsai updated HBASE-17076:
--
Description: 
We implement the getAndPut() and getAndDelete() by coprocessor, but there are a 
lot of duplicate effort (e.g., data checks, row lock, returned value, and wal). 
It is cool if we provide the compare-and-swap primitive.

The draft patch is attached. Any advice and suggestions will be greatly 
appreciated.
Thanks.

  was:We implement the getAndPut() and getAndDelete() by coprocessor, but there 
are a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
wal). It is cool if we provide the compare-and-swap primitive.


> implement getAndPut() and getAndDelete()
> 
>
> Key: HBASE-17076
> URL: https://issues.apache.org/jira/browse/HBASE-17076
> Project: HBase
>  Issue Type: New Feature
>Affects Versions: 2.0.0
>Reporter: ChiaPing Tsai
>Priority: Minor
> Fix For: 2.0.0
>
>
> We implement the getAndPut() and getAndDelete() by coprocessor, but there are 
> a lot of duplicate effort (e.g., data checks, row lock, returned value, and 
> wal). It is cool if we provide the compare-and-swap primitive.
> The draft patch is attached. Any advice and suggestions will be greatly 
> appreciated.
> Thanks.



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