HDFS-16494.Removed reuse of AvailableSpaceVolumeChoosingPolicy#initLocks(). (#4048). Contributed by JiangHua Zhu.
This commit is contained in:
parent
1c0bc35305
commit
a237526988
@ -63,7 +63,6 @@ public class AvailableSpaceVolumeChoosingPolicy<V extends FsVolumeSpi>
|
||||
|
||||
public AvailableSpaceVolumeChoosingPolicy() {
|
||||
this(new Random());
|
||||
initLocks();
|
||||
}
|
||||
|
||||
private void initLocks() {
|
||||
|
Loading…
Reference in New Issue
Block a user