[
https://issues.apache.org/jira/browse/HDFS-16347?focusedWorklogId=750757&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-750757
]
ASF GitHub Bot logged work on HDFS-16347:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Mar/22 05:27
Start Date: 31/Mar/22 05:27
Worklog Time Spent: 10m
Work Description: GuoPhilipse commented on a change in pull request #3703:
URL: https://github.com/apache/hadoop/pull/3703#discussion_r839185051
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
##########
@@ -1260,4 +1260,11 @@ private void writeFile(FileSystem fs, int numFiles)
throws IOException {
DFSTestUtil.createFile(fs, filePath, 1, (short) 1, 0);
}
}
+
+ @Test(timeout = 3000)
+ public void testDefaultDirectoryScanThrottle() {
+ Configuration conf = new Configuration(getConfiguration());
+ assertEquals(Integer.parseInt(
+
conf.get(DFSConfigKeys.DFS_DATANODE_DIRECTORYSCAN_THROTTLE_LIMIT_MS_PER_SEC_KEY)),
1000);
Review comment:
thanks @tomscut for your review ,have just fixed it :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 750757)
Time Spent: 2h 10m (was: 2h)
> Fix directory scan throttle default value
> -----------------------------------------
>
> Key: HDFS-16347
> URL: https://issues.apache.org/jira/browse/HDFS-16347
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 3.3.1
> Reporter: guophilipse
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> `dfs.datanode.directoryscan.throttle.limit.ms.per.sec` was changed from
> `1000` to `-1` by default after HDFS-13947, we can improve the doc
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]