asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Hillery (Code Review)" <>
Subject Change in hyracks[master]: This change fixes the sporadic connection refused errors aft...
Date Thu, 10 Sep 2015 03:33:17 GMT
Chris Hillery has posted comments on this change.

Change subject: This change fixes the sporadic connection refused errors after managix starts
up an Asterix instance. This can mostly be seen during asterix-installer tests. The fix basically
lets managix wait and listens through zookeeper for a signal from the cluster c

Patch Set 1: Code-Review-2


Need to fix the review comments that have been made by others and move the Zookeeper command-line
option down to Asterix (see my comment).

I think this change (adding a "startup complete" callback to the entrypoint class) is probably
useful by itself. I do have strong reservations about the Zookeeper dependency as Till did,
but I will continue that conversation on the Asterix review.
File hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/controllers/

Line 70:     @Option(name = "-managix-ip", required = false, usage = "Sets the ip address
of the installer")
This option doesn't belong in Hyracks as it isn't used by anything in Hyracks. Managix is
strictly an Asterix artifact.

There is a mechanism to provide app-specific command line options; Hyracks will pass them
down to the app entrypoint class. We use this already on the NC; see org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint
(parameters are -metadata-port and -initial-run). We should add -zookeeper-ip down there,
not in Hyracks.
File hyracks/hyracks-examples/text-example/textserver/pom.xml:

Line 152: 			<version>2.8.1</version>
It looks like this is the only actual change other than whitespace. Why did this change for
adding a Managix IP require adding an explicit dependency on surefire-junit4?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I0975308e1dc2650d8c2e50d58ff2c696b22eaaa4
Gerrit-PatchSet: 1
Gerrit-Project: hyracks
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <>
Gerrit-Reviewer: Chris Hillery <>
Gerrit-Reviewer: Ian Maxon <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message