[ https://issues.apache.org/jira/browse/HDFS-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520194#comment-14520194 ]
Haohui Mai commented on HDFS-6697: ---------------------------------- What about changing the values through reflection? It should not be exposed in the configuration which might lead to compatibility concerns. > 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 > > 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)