You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/06/24 23:23:12 UTC
[GitHub] [helix] narendly opened a new issue #1121: Fix GenericZkHelixApiBuilder and GenericBaseDataAccessorBuilder
narendly opened a new issue #1121:
URL: https://github.com/apache/helix/issues/1121
protected RealmAwareZkClient createZkClient(RealmAwareZkClient.RealmMode realmMode,
RealmAwareZkClient.RealmAwareZkConnectionConfig connectionConfig,
RealmAwareZkClient.RealmAwareZkClientConfig clientConfig, String zkAddress) {
switch (realmMode) {
case MULTI_REALM:
try {
return new FederatedZkClient(connectionConfig,
clientConfig.setZkSerializer(new ZNRecordSerializer()));
} catch (IOException | InvalidRoutingDataException | IllegalStateException e) {
throw new HelixException("Failed to create FederatedZkClient!", e);
}
case SINGLE_REALM:
// Create a HelixZkClient: Use a SharedZkClient because ClusterSetup does not need to do
// ephemeral operations
return SharedZkClientFactory.getInstance()
.buildZkClient(new HelixZkClient.ZkConnectionConfig(zkAddress),
clientConfig.createHelixZkClientConfig().setZkSerializer(new ZNRecordSerializer()));
default:
throw new HelixException("Invalid RealmMode given: " + realmMode);
}
}
the RealmMode set in RealmAwareZkConnectionConfig is not being honored.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] narendly closed issue #1121: Fix GenericZkHelixApiBuilder and GenericBaseDataAccessorBuilder
Posted by GitBox <gi...@apache.org>.
narendly closed issue #1121:
URL: https://github.com/apache/helix/issues/1121
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org