[
https://issues.apache.org/jira/browse/HDFS-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647262#comment-14647262
]
Vinayakumar B commented on HDFS-6697:
-------------------------------------
bq. Can you clarify why in LeaseRenewer it needs to compare the configured soft
limit with the default soft limit? Instead it can just set the renewal variable
with the configured value.
I think the idea is to keep {{renawal}} interval to max 30 seconds(default).
And if configured softlimit is positive and less than 60 seconds, that will
have the priority.
Am I right [~andreina]?
> Make NN lease soft and hard limits configurable
> -----------------------------------------------
>
> Key: HDFS-6697
> URL: https://issues.apache.org/jira/browse/HDFS-6697
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ming Ma
> Assignee: J.Andreina
> Attachments: HDFS-6697.1.patch, HDFS-6697.2.patch, HDFS-6697.3.patch
>
>
> For testing, NameNodeAdapter allows test code to specify lease soft and hard
> limit via setLeasePeriod directly on LeaseManager. But NamenodeProxies.java
> still use the default values.
>
> It is useful if we can make NN lease soft and hard limit configurable via
> Configuration. That will allow NamenodeProxies.java to use the configured
> values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)