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

J.Andreina commented on HDFS-6697:
----------------------------------

Given an initial patch for making Lease soft and hard limit configurable
Please review.

[~mingma], thanks for your comments.I agree with your point 
bq. it might be useful to speed up test case 
TestFileCreation#testOverwriteOpenForWrite with smaller values.
 But i am confused on why file creation has to retry for a configured value if 
the file already exist. Can you please clarify my doubts in HDFS-8270.

> 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
>
> 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)

Reply via email to