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:
Kihwal Lee 2014-02-20 21:57:52 +00:00
parent 016d3b8171
commit 0b51bdd94f
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -1061,7 +1061,7 @@ public void enableDeleteToTrash(String bpid) {
@Override @Override
public void disableAndPurgeTrashStorage(String bpid) { public void disableAndPurgeTrashStorage(String bpid) {
throw new UnsupportedOperationException(); // do nothing
} }
@Override @Override