HBASE-8 [hbase] Delete table does not remove the table directory in the FS
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@629175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1f99a440f1
commit
e714fed123
|
@ -21,6 +21,7 @@ Hbase Change Log
|
|||
HBASE-434, HBASE-435 TestTableIndex and TestTableMapReduce failed in Hudson builds
|
||||
HBASE-446 Fully qualified hbase.rootdir doesn't work
|
||||
HBASE-438 XMLOutputter state should be initialized. (Edward Yoon via Stack)
|
||||
HBASE-8 Delete table does not remove the table directory in the FS
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-415 Rewrite leases to use DelayedBlockingQueue instead of polling
|
||||
|
|
|
@ -22,6 +22,7 @@ package org.apache.hadoop.hbase.master;
|
|||
import java.io.IOException;
|
||||
import java.util.HashSet;
|
||||
|
||||
import org.apache.hadoop.fs.Path;
|
||||
import org.apache.hadoop.hbase.HRegion;
|
||||
import org.apache.hadoop.hbase.HRegionInfo;
|
||||
import org.apache.hadoop.hbase.HRegionInterface;
|
||||
|
@ -62,6 +63,9 @@ class TableDelete extends ChangeTableState {
|
|||
}
|
||||
}
|
||||
super.postProcessMeta(m, server);
|
||||
|
||||
// delete the table's folder from fs.
|
||||
master.fs.delete(new Path(master.rootdir, tableName.toString()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue