this.checkHostName();
this.validateRestServiceConfiguration();
this.storeRepository = new StoreRepository(config.isJmxEnabled());
// update cluster details in metaDataStore
ConfigurationStorageEngine metadataInnerEngine = new ConfigurationStorageEngine("metadata-config-store",
voldemortConfig.getMetadataDirectory());
// transforms are not required here
VectorClock version = new VectorClock();
version.incrementVersion(voldemortConfig.getNodeId(), System.currentTimeMillis());
metadataInnerEngine.put(MetadataStore.CLUSTER_KEY,
new Versioned<String>(new ClusterMapper().writeCluster(cluster),
version),
null);
this.metadata = new MetadataStore(metadataInnerEngine, voldemortConfig.getNodeId());