Skip to content

Commit 7bfad93

Browse files
committed
refinen logs
1 parent b0b837f commit 7bfad93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ synchronized List<List<BlockInfo>> chooseLowRedundancyBlocks(
530530
* @param blocksToReconstruct - The found candidates blocks need to be reconstructed
531531
* @return Return the number of found low-redundancy blocks(They are put in blocksToReconstruct)
532532
*/
533-
public synchronized int chooseLowRedundancyBlocks(
533+
synchronized int chooseLowRedundancyBlocks(
534534
int blocksToProcess, boolean resetIterators, List<List<BlockInfo>> blocksToReconstruct) {
535535
int foundBlocks = 0;
536536
int count = 0;

0 commit comments

Comments
 (0)