You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by zz...@apache.org on 2013/06/01 00:08:49 UTC
git commit: HELIX-119: HelixManager serializer no longer needs
ByteArraySerializer for /PROPERTYSTORE
Updated Branches:
refs/heads/master ce8259446 -> 989fc253b
HELIX-119: HelixManager serializer no longer needs ByteArraySerializer for /PROPERTYSTORE
Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/989fc253
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/989fc253
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/989fc253
Branch: refs/heads/master
Commit: 989fc253b3a71278d72a35ed22d114eff57e989e
Parents: ce82594
Author: zzhang <zz...@uci.edu>
Authored: Fri May 31 15:08:32 2013 -0700
Committer: zzhang <zz...@uci.edu>
Committed: Fri May 31 15:08:32 2013 -0700
----------------------------------------------------------------------
.../apache/helix/manager/zk/ZKHelixManager.java | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/989fc253/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
index cff370b..eec38aa 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
+++ b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
@@ -569,14 +569,10 @@ public class ZKHelixManager implements HelixManager
private void createClient(String zkServers) throws Exception
{
- String propertyStorePath =
- PropertyPathConfig.getPath(PropertyType.PROPERTYSTORE, _clusterName);
-
// by default use ZNRecordStreamingSerializer except for paths within the property
// store which expects raw byte[] serialization/deserialization
PathBasedZkSerializer zkSerializer =
ChainedPathZkSerializer.builder(new ZNRecordStreamingSerializer())
- .serialize(propertyStorePath, new ByteArraySerializer())
.build();
_zkClient = new ZkClient(zkServers, _sessionTimeout, CONNECTIONTIMEOUT, zkSerializer);