[
https://issues.apache.org/jira/browse/HDFS-4642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617044#comment-13617044
]
Ted Yu commented on HDFS-4642:
------------------------------
For HBase's use case, it is known a priori that the files returned would go
through lease recovery. So it is not really necessary for client
(SplitLogManager) to issue multiple lease recovery requests.
In proposed API, Op can carry other values in other use cases, such as DELETE.
> 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