this.storeTableName = registry.getConfig().getString(DrillHBaseConstants.SYS_STORE_PROVIDER_HBASE_TABLE);
ClusterCoordinator coord = registry.getClusterCoordinator();
if ((coord instanceof ZKClusterCoordinator)) {
this.localEStoreProvider = null;
this.zkEStoreProvider = new ZkEStoreProvider(((ZKClusterCoordinator)registry.getClusterCoordinator()).getCurator());
this.zkAvailable = true;
} else {
this.localEStoreProvider = new LocalEStoreProvider();
this.zkEStoreProvider = null;
this.zkAvailable = false;