HDDS-396. Remove openContainers.db from SCM.
Contributed by Dinesh Chitlangia.
This commit is contained in:
parent
9964e33e8d
commit
6e4c731471
@ -92,7 +92,6 @@ public final class OzoneConsts {
|
||||
public static final String CONTAINER_DB_SUFFIX = "container.db";
|
||||
public static final String SCM_CONTAINER_DB = "scm-" + CONTAINER_DB_SUFFIX;
|
||||
public static final String DN_CONTAINER_DB = "-dn-"+ CONTAINER_DB_SUFFIX;
|
||||
public static final String OPEN_CONTAINERS_DB = "openContainers.db";
|
||||
public static final String DELETED_BLOCK_DB = "deletedBlock.db";
|
||||
public static final String OM_DB_NAME = "om.db";
|
||||
|
||||
|
@ -59,7 +59,6 @@
|
||||
import static org.apache.hadoop.ozone.OzoneConsts.OM_DB_NAME;
|
||||
import static org.apache.hadoop.ozone.OzoneConsts.OM_KEY_PREFIX;
|
||||
import static org.apache.hadoop.ozone.OzoneConsts.OM_USER_PREFIX;
|
||||
import static org.apache.hadoop.ozone.OzoneConsts.OPEN_CONTAINERS_DB;
|
||||
|
||||
/**
|
||||
* This is the CLI that can be use to convert an ozone metadata DB into
|
||||
@ -270,9 +269,6 @@ public int run(String[] args) throws Exception {
|
||||
if (dbName.toString().endsWith(CONTAINER_DB_SUFFIX)) {
|
||||
LOG.info("Converting container DB");
|
||||
convertContainerDB(dbPath, outPath);
|
||||
} else if (dbName.toString().equals(OPEN_CONTAINERS_DB)) {
|
||||
LOG.info("Converting open container DB");
|
||||
convertOpenContainerDB(dbPath, outPath);
|
||||
} else if (dbName.toString().equals(OM_DB_NAME)) {
|
||||
LOG.info("Converting om DB");
|
||||
convertOMDB(dbPath, outPath);
|
||||
|
Loading…
Reference in New Issue
Block a user