[ 
https://issues.apache.org/jira/browse/HBASE-13090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367402#comment-14367402
 ] 

Jonathan Lawlor commented on HBASE-13090:
-----------------------------------------

[~eshcar] Actually, that is how it works (sorry, I was explicitly clear). When 
the time limit is reached the server will return to the client whatever it has 
accumulated thus far in a heartbeat message. What I meant by #2 is that it is 
possible (in the case of aggressive filtering) that when the time limit is 
reached, the server hasn't had a chance to accumulate ANY Results. In such a 
case, the Result array returned to the client would be empty

> Progress heartbeats for long running scanners
> ---------------------------------------------
>
>                 Key: HBASE-13090
>                 URL: https://issues.apache.org/jira/browse/HBASE-13090
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Andrew Purtell
>            Assignee: Jonathan Lawlor
>         Attachments: HBASE-13090-v1.patch, HBASE-13090-v2.patch, 
> HBASE-13090-v3.patch, HBASE-13090-v3.patch
>
>
> It can be necessary to set very long timeouts for clients that issue scans 
> over large regions when all data in the region might be filtered out 
> depending on scan criteria. This is a usability concern because it can be 
> hard to identify what worst case timeout to use until scans are 
> occasionally/intermittently failing in production, depending on variable scan 
> criteria. It would be better if the client-server scan protocol can send back 
> periodic progress heartbeats to clients as long as server scanners are alive 
> and making progress.
> This is related but orthogonal to streaming scan (HBASE-13071). 



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

Reply via email to