[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-09-01 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
Release Note: 
Now async client has the same semantic with sync client for batch and partial.
'''
Now setBatch doesn't mean setAllowPartialResult(true)
If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 
to user.
'''

Also a minor API change:
Result#createCompleteResult(List) is changed to 
Result#createCompleteResult(Iterable).



> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-17740.patch, HBASE-17740-v1.patch
>
>




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


[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-03-15 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Pushed to master.

Thanks [~yangzhe1991] for reviewing.

> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-17740.patch, HBASE-17740-v1.patch
>
>




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


[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-03-15 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
Attachment: HBASE-17740-v1.patch

> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-17740.patch, HBASE-17740-v1.patch
>
>




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


[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-03-14 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
Status: Patch Available  (was: Open)

> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-17740.patch
>
>




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


[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-03-14 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
Attachment: HBASE-17740.patch

Add a BatchScanResultCache to implement the regrouping logic. And also use 
ScanResultCache for sync client to simplify our code base. Also remove the 
lambda expressions in ScanResultCache related code as we want to backport these 
changes to branch-1 also.

> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-17740.patch
>
>




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


[jira] [Updated] (HBASE-17740) Correct the semantic of batch and partial for async client

2017-03-12 Thread Duo Zhang (JIRA)

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

Duo Zhang updated HBASE-17740:
--
Priority: Critical  (was: Major)

> Correct the semantic of batch and partial for async client
> --
>
> Key: HBASE-17740
> URL: https://issues.apache.org/jira/browse/HBASE-17740
> Project: HBase
>  Issue Type: Sub-task
>  Components: asyncclient, Client, scan
>Affects Versions: 2.0.0
>Reporter: Duo Zhang
>Priority: Critical
> Fix For: 2.0.0
>
>




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