Skip to content
Merged
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 @@ -391,7 +391,6 @@ public final class OzoneManager extends ServiceRuntimeInfoImpl
private OzoneManagerHttpServer httpServer;
private final OMStorage omStorage;
private ObjectName omInfoBeanName;
private NetworkTopology clusterMap;
private Timer metricsTimer;
private ScheduleOMMetricsWriteTask scheduleOMMetricsWriteTask;
private static final ObjectWriter WRITER =
Expand Down Expand Up @@ -1696,19 +1695,14 @@ public void start() throws IOException {
metricsTimer = new Timer();
metricsTimer.schedule(scheduleOMMetricsWriteTask, 0, period);

keyManager.start(configuration);

try {
scmTopologyClient.start(configuration);
} catch (IOException ex) {
LOG.error("Unable to initialize network topology schema file. ", ex);
throw new UncheckedIOException(ex);
}

clusterMap = new NetworkTopologyImpl(configuration.get(
ScmConfigKeys.OZONE_SCM_NETWORK_TOPOLOGY_SCHEMA_FILE,
ScmConfigKeys.OZONE_SCM_NETWORK_TOPOLOGY_SCHEMA_FILE_DEFAULT),
scmTopologyClient.getClusterTree());
keyManager.start(configuration);

try {
httpServer = new OzoneManagerHttpServer(configuration, this);
Expand Down