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/03/13 21:56:48 UTC
[GitHub] [helix] pkuwm commented on a change in pull request #895: Update
listClusters() in ZkHelixAdmin
pkuwm commented on a change in pull request #895: Update listClusters() in ZkHelixAdmin
URL: https://github.com/apache/helix/pull/895#discussion_r392504297
##########
File path: helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
##########
@@ -1925,7 +1931,10 @@ private void validate() {
// Resolve RealmAwareZkClientConfig
if (realmAwareZkClientConfig == null) {
- realmAwareZkClientConfig = new RealmAwareZkClient.RealmAwareZkClientConfig();
+ // ZkHelixAdmin should have ZNRecordSerializer set by default
+ realmAwareZkClientConfig = new RealmAwareZkClient.RealmAwareZkClientConfig()
+ .setZkSerializer(
+ new org.apache.helix.zookeeper.datamodel.serializer.ZNRecordSerializer());
Review comment:
Nit, I think currently we can still use the deprecated ZNRecordSerializer. Once the deprecated one is removed, we will also refactor and change it here. If we put the long path here, maybe we would not find it when removing the deprecated one.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org