This is an automated email from the ASF dual-hosted git repository.
hexiaoqiao pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new a237526 HDFS-16494.Removed reuse of
AvailableSpaceVolumeChoosingPolicy#initLocks(). (#4048). Contributed by
JiangHua Zhu.
a237526 is described below
commit a237526988b8d69beccd837a3e9c238cfeb6f5db
Author: He Xiaoqiao <[email protected]>
AuthorDate: Wed Mar 16 20:43:38 2022 +0800
HDFS-16494.Removed reuse of AvailableSpaceVolumeChoosingPolicy#initLocks().
(#4048). Contributed by JiangHua Zhu.
---
.../server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java
index 72ed47c..5d12fa7 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java
@@ -63,7 +63,6 @@ public class AvailableSpaceVolumeChoosingPolicy<V extends
FsVolumeSpi>
public AvailableSpaceVolumeChoosingPolicy() {
this(new Random());
- initLocks();
}
private void initLocks() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]