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

lei w commented on HDFS-17519:
------------------------------

[~ayushsaxena] Can you give me some suggestions?

> Reduce lease checks when the last block is in the complete state and the 
> penultimate block is in the committed state in ones file.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17519
>                 URL: https://issues.apache.org/jira/browse/HDFS-17519
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: lei w
>            Priority: Major
>
> When the last block of the file is in the complete state and the penultimate 
> block is in the committed state, LeaseMonitor will continuously check the 
> lease of this file. In this case, it is usually because the DN encountered 
> some anomalies and did not report to the NN for a long time. So can we renew 
> the lease with the LeaseMonitor, and then reduce the number of checks on this 
> lease?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to