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

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

[~tedyu] thanks for digging in here. I have done some investigation into the 
root cause of this issue and it seems to be coming from the field 
{{MIN_RPC_TIMEOUT}} inside {{RpcRetryingCaller}} in branch-1. This 
{{MIN_RPC_TIMEOUT}} field in branch-1 prevents setting the RPC timeout value to 
anything less than 2 seconds. In master this field no longer exists and the 
timeout value can be specified to be as small as we wish. In the case of 
TestScannerHeartbeatMessages, the RPC timeout was specified to be 0.5 seconds 
which is why it fails when it is 2 seconds instead. I will attach a patch 
shortly to address this issue, thanks!

> 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
>             Fix For: 2.0.0, 1.1.0, 1.2.0
>
>         Attachments: 13090-branch-1.addendum, HBASE-13090-v1.patch, 
> HBASE-13090-v2.patch, HBASE-13090-v3.patch, HBASE-13090-v3.patch, 
> HBASE-13090-v4.patch, HBASE-13090-v6.patch, HBASE-13090-v7.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