helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzh...@apache.org
Subject git commit: HELIX-119: HelixManager serializer no longer needs ByteArraySerializer for /PROPERTYSTORE
Date Fri, 31 May 2013 22:10:08 GMT
Updated Branches:
  refs/heads/helix-0.6.1-incubating-release ce8259446 -> c88c26189


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/c88c2618
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/c88c2618
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/c88c2618

Branch: refs/heads/helix-0.6.1-incubating-release
Commit: c88c261895c2cabcd95a6e354bd35b37f7e0c3bf
Parents: ce82594
Author: zzhang <zzhang5@uci.edu>
Authored: Fri May 31 15:09:59 2013 -0700
Committer: zzhang <zzhang5@uci.edu>
Committed: Fri May 31 15:09:59 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/c88c2618/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);


Mime
View raw message