Skip to content

Commit 09eed20

Browse files
committed
HDFS-17218. Modify patch based on comments
1 parent 59e36cc commit 09eed20

File tree

1 file changed

+4
-4
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement

1 file changed

+4
-4
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3064,13 +3064,13 @@ void rescanPostponedMisreplicatedBlocks() {
30643064
/**
30653065
* Sets the timeout (in seconds) for excess redundancy blocks, if the provided timeout is
30663066
* less than or equal to 0, the default value is used (converted to milliseconds).
3067-
* @param timeOut The time (in seconds) to set as the excess redundancy block timeout.
3067+
* @param timeout The time (in seconds) to set as the excess redundancy block timeout.
30683068
*/
3069-
public void setExcessRedundancyTimeout(long timeOut) {
3070-
if (timeOut <= 0) {
3069+
public void setExcessRedundancyTimeout(long timeout) {
3070+
if (timeout <= 0) {
30713071
this.excessRedundancyTimeout = DFS_NAMENODE_EXCESS_REDUNDANCY_TIMEOUT_SEC * 1000L;
30723072
} else {
3073-
this.excessRedundancyTimeout = timeOut * 1000L;
3073+
this.excessRedundancyTimeout = timeout * 1000L;
30743074
}
30753075
}
30763076

0 commit comments

Comments
 (0)