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/04/08 19:25:44 UTC
git commit: fix recipe compile error
Updated Branches:
refs/heads/master 36e3b2c18 -> d00e847d1
fix recipe compile error
Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/d00e847d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/d00e847d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/d00e847d
Branch: refs/heads/master
Commit: d00e847d18e1aced63d620ae4aab4674fe0fd290
Parents: 36e3b2c
Author: zzhang <zz...@uci.edu>
Authored: Mon Apr 8 10:25:41 2013 -0700
Committer: zzhang <zz...@uci.edu>
Committed: Mon Apr 8 10:25:41 2013 -0700
----------------------------------------------------------------------
.../apache/helix/filestore/IntegrationTest.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/d00e847d/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/IntegrationTest.java
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/IntegrationTest.java b/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/IntegrationTest.java
index aa867f2..d9192c2 100644
--- a/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/IntegrationTest.java
+++ b/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/IntegrationTest.java
@@ -34,8 +34,11 @@ import org.apache.helix.HelixManager;
import org.apache.helix.PropertyKey.Builder;
import org.apache.helix.controller.HelixControllerMain;
import org.apache.helix.model.ConfigScope;
+import org.apache.helix.model.HelixConfigScope;
+import org.apache.helix.model.HelixConfigScope.ConfigScopeProperty;
import org.apache.helix.model.StateModelDefinition;
import org.apache.helix.model.builder.ConfigScopeBuilder;
+import org.apache.helix.model.builder.HelixConfigScopeBuilder;
import org.apache.helix.tools.ClusterSetup;
import org.apache.helix.tools.StateModelConfigGenerator;
@@ -204,8 +207,8 @@ public class IntegrationTest
String clusterName, String instanceName) throws IOException
{
Map<String, String> properties = new HashMap<String, String>();
- ConfigScopeBuilder builder = new ConfigScopeBuilder();
- ConfigScope instanceScope = builder.forCluster(clusterName)
+ HelixConfigScopeBuilder builder = new HelixConfigScopeBuilder(ConfigScopeProperty.PARTICIPANT);
+ HelixConfigScope instanceScope = builder.forCluster(clusterName)
.forParticipant(instanceName).build();
properties.put("change_log_dir", baseDir + instanceName + "/translog");
properties.put("file_store_dir", baseDir + instanceName + "/filestore");