HDFS-5985. SimulatedFSDataset#disableAndPurgeTrashStorage should not throw UnsupportedOperationException. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-5535@1570363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
016d3b8171
commit
0b51bdd94f
|
@ -62,3 +62,6 @@ HDFS-5535 subtasks:
|
||||||
HDFS-5980. Rollback does not need to load edits. (jing9 via szetszwo)
|
HDFS-5980. Rollback does not need to load edits. (jing9 via szetszwo)
|
||||||
|
|
||||||
HDFS-5984. Fix TestEditLog and TestStandbyCheckpoints. (jing9 via szetszwo)
|
HDFS-5984. Fix TestEditLog and TestStandbyCheckpoints. (jing9 via szetszwo)
|
||||||
|
|
||||||
|
HDFS-5985. SimulatedFSDataset#disableAndPurgeTrashStorage should not throw
|
||||||
|
UnsupportedOperationException. (jing9 via kihwal)
|
||||||
|
|
|
@ -1061,7 +1061,7 @@ public class SimulatedFSDataset implements FsDatasetSpi<FsVolumeSpi> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void disableAndPurgeTrashStorage(String bpid) {
|
public void disableAndPurgeTrashStorage(String bpid) {
|
||||||
throw new UnsupportedOperationException();
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue