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

Todd Lipcon commented on HDFS-4642:
-----------------------------------

Why not just use a threadpool on the client to issue them in parallel? It 
doesn't seem like there is a lot of work to be amortized on the server side 
here.
                
> Allow lease recovery for multiple paths to be issued in one request
> -------------------------------------------------------------------
>
>                 Key: HDFS-4642
>                 URL: https://issues.apache.org/jira/browse/HDFS-4642
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> Currently client can only request lease recovery for one Path:
> {code}
>   public boolean recoverLease(Path f) throws IOException {
> {code}
> For HBase distributed log splitting, Nicolas made a suggestion here:
> https://issues.apache.org/jira/browse/HBASE-7878?focusedCommentId=13615364&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13615364
> HBase master collects the files that should be split, it issues lease 
> recovery for the files (in one request), then distribute log splitting.
> This would help shorten MTTR.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to