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

ASF GitHub Bot commented on HDFS-17051:
---------------------------------------

wzhallright opened a new pull request, #5749:
URL: https://github.com/apache/hadoop/pull/5749

   
   ### Description of PR
   At TestFIleAppend4.java the method `recoverFile` 
   `// set the soft limit to be 1 second so that the
       // namenode triggers lease recovery upon append request
       cluster.setLeasePeriod(1,
           conf.getLong(DFSConfigKeys.DFS_LEASE_HARDLIMIT_KEY,
               DFSConfigKeys.DFS_LEASE_HARDLIMIT_DEFAULT));`
   
   The notation mean setLeasePeriod of soft limit to be 1 second, but current 
set the soft limit to be 1ms.
   ### How was this patch tested?
   
   
   ### For code changes:
   
   issue: https://issues.apache.org/jira/browse/HDFS-17051
   
   




> Fix wrong time util in TestFileAppend4#recoverFile
> --------------------------------------------------
>
>                 Key: HDFS-17051
>                 URL: https://issues.apache.org/jira/browse/HDFS-17051
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Zhaohui Wang
>            Assignee: Zhaohui Wang
>            Priority: Minor
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to