Skip to content

Commit 4f3341c

Browse files
committed
Remove unused methods
1 parent e5052de commit 4f3341c

File tree

1 file changed

+0
-10
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl

1 file changed

+0
-10
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/BlockPoolSlice.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -275,16 +275,6 @@ public GetSpaceUsed getDfsUsage() {
275275
return dfsUsage;
276276
}
277277

278-
public void refreshSpaceUsedKlass(Configuration conf) throws IOException {
279-
((CachingGetSpaceUsed) dfsUsage).close();
280-
this.dfsUsage = new FSCachingGetSpaceUsed.Builder().setBpid(bpid)
281-
.setVolume(volume)
282-
.setPath(bpDir)
283-
.setConf(conf)
284-
.setInitialUsed(loadDfsUsed())
285-
.build();
286-
}
287-
288278
private synchronized static void initializeAddReplicaPool(Configuration conf,
289279
FsDatasetImpl dataset) {
290280
if (addReplicaThreadPool == null) {

0 commit comments

Comments
 (0)