asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mb...@apache.org
Subject asterixdb git commit: Default NCService PID to -1
Date Fri, 30 Sep 2016 17:30:03 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master da564668f -> 414373d0a


Default NCService PID to -1

As 0 is technically a valid PID, default the NCService PID to -1 in case
not supplied.

Change-Id: If331fc62da4daf20539204ae38e9e29da047571b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1230
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/414373d0
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/414373d0
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/414373d0

Branch: refs/heads/master
Commit: 414373d0a41b4d26e034c2f14bb89dbe0ab6a62c
Parents: da56466
Author: Michael Blow <mblow@apache.org>
Authored: Thu Sep 29 23:44:12 2016 -0400
Committer: Michael Blow <mblow@apache.org>
Committed: Fri Sep 30 10:29:28 2016 -0700

----------------------------------------------------------------------
 .../org/apache/hyracks/control/common/controllers/NCConfig.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/414373d0/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
index 049a55a..ce5043a 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/NCConfig.java
@@ -155,7 +155,7 @@ public class NCConfig implements Serializable {
     public int messagingPublicPort = 0;
 
     @Option(name = "-ncservice-pid", usage = "PID of the NCService which launched this NCDriver",
required = false)
-    public int ncservicePid = 0;
+    public int ncservicePid = -1;
 
     @Argument
     @Option(name = "--", handler = StopOptionHandler.class)


Mime
View raw message