Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,18 @@ public final class ScmConfigKeys {
public static final String HDDS_SCM_WATCHER_TIMEOUT_DEFAULT =
"10m";

public static final String HDDS_SCM_REPLICATION_THREAD_INTERVAL =
"hdds.scm.replication.thread.interval";

public static final String HDDS_SCM_REPLICATION_THREAD_INTERVAL_DEFAULT =
"5m";

public static final String HDDS_SCM_REPLICATION_EVENT_TIMEOUT =
"hdds.scm.replication.event.timeout";

public static final String HDDS_SCM_REPLICATION_EVENT_TIMEOUT_DEFAULT =
"10m";

public static final String
HDDS_SCM_HTTP_KERBEROS_PRINCIPAL_KEY =
"hdds.scm.http.kerberos.principal";
Expand Down
20 changes: 20 additions & 0 deletions hadoop-hdds/common/src/main/resources/ozone-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2357,4 +2357,24 @@
Request to flush the OM DB before taking checkpoint snapshot.
</description>
</property>
<property>
<name>hdds.scm.replication.thread.interval</name>
<value>5m</value>
<tag>OZONE, SCM</tag>
<description>
There is a replication monitor thread running inside SCM which
takes care of replicating the containers in the cluster. This
property is used to configure the interval in which that thread
runs.
</description>
</property>
<property>
<name>hdds.scm.replication.event.timeout</name>
<value>10m</value>
<tag>OZONE, SCM</tag>
<description>
Timeout for the container replication/deletion commands sent
to datanodes. After this timeout the command will be retried.
</description>
</property>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
*/
public interface ContainerManager extends Closeable {


/**
* Returns all the container Ids managed by ContainerManager.
*
* @return Set of ContainerID
*/
Set<ContainerID> getContainerIDs();

/**
* Returns all the containers managed by ContainerManager.
*
Expand Down
Loading