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:08:49 GMT
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 <zzhang5@uci.edu>
Authored: Fri May 31 15:08:32 2013 -0700
Committer: zzhang <zzhang5@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);


Mime
View raw message