Modified plugin to work with hyracks >= 0.2.0
git-svn-id: https://hyracks.googlecode.com/svn/trunk@990 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksCCStartMojo.java b/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksCCStartMojo.java
index 942b055..cf78a72 100644
--- a/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksCCStartMojo.java
+++ b/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksCCStartMojo.java
@@ -36,6 +36,8 @@
if (port != 0) {
cmdLineBuffer.append("-port ").append(port);
}
+ cmdLineBuffer.append(" -client-net-ip-address 127.0.0.1");
+ cmdLineBuffer.append(" -cluster-net-ip-address 127.0.0.1");
String args = cmdLineBuffer.toString();
final Process proc = launch(new File(hyracksServerHome, makeScriptName(HYRACKS_CC_SCRIPT)), args, workingDir);
HyracksServiceRegistry.INSTANCE.addServiceProcess(proc);
@@ -45,4 +47,4 @@
e.printStackTrace();
}
}
-}
\ No newline at end of file
+}
diff --git a/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksNCStartMojo.java b/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksNCStartMojo.java
index 1206e08..47de024 100644
--- a/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksNCStartMojo.java
+++ b/hyracks-maven-plugin/src/main/java/edu/uci/ics/hyracks/maven/plugin/HyracksNCStartMojo.java
@@ -54,6 +54,7 @@
cmdLineBuffer.append(" -cc-host ").append(ccHost);
cmdLineBuffer.append(" -data-ip-address ").append(dataIpAddress);
cmdLineBuffer.append(" -node-id ").append(nodeId);
+ cmdLineBuffer.append(" -cluster-net-ip-address 127.0.0.1");
if (ccPort != 0) {
cmdLineBuffer.append(" -cc-port ").append(ccPort);
}
@@ -66,4 +67,4 @@
e.printStackTrace();
}
}
-}
\ No newline at end of file
+}