-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-9607] [SPARK-9608] fix zinc-port handling in build/mvn #7944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
also:
- fix path check that sets ZINC_INSTALL_FLAG, which was incorrectly
causing zinc to be shutdown and restarted every time (with incorrect
ports on those commands)
- pass -DzincPort=${ZINC_PORT} to maven, to use the correct zinc port
when building
|
LGTM - thanks for adding this. We've been manually working around this on jenkins (by passing -DzincPort, etc) but it's much nicer to have this handled properly. /cc @brennonyork as well. |
|
Do we need to set a default zinc port or are we assuming that either:
I don't know the default behavior so just want to make sure. Was thinking we could set the default port like |
|
@brennonyork I think the zinc port is already set if none is provided: https://github.com/ryan-williams/spark/blob/zinc-status/build/mvn#L113 |
|
Totally missed that, awesome! Just wanted to make sure! LGTM. |
|
Test build #39756 has finished for PR 7944 at commit
|
|
Just catching up here, yea @pwendell the |
|
Nah - not a big enough thing to deal to create a new JIRA. Anyways this LGTM. @JoshRosen feel free to merge. |
- pass `$ZINC_PORT` to zinc status/shutdown commands
- fix path check that sets `$ZINC_INSTALL_FLAG`, which was incorrectly
causing zinc to be shutdown and restarted every time (with mismatched
ports on those commands to boot)
- pass `-DzincPort=${ZINC_PORT}` to maven, to use the correct zinc port
when building
Author: Ryan Williams <ryan.blake.williams@gmail.com>
Closes #7944 from ryan-williams/zinc-status and squashes the following commits:
619c520 [Ryan Williams] fix zinc status/shutdown commands
(cherry picked from commit e27a8c4)
Signed-off-by: Sean Owen <sowen@cloudera.com>
- pass `$ZINC_PORT` to zinc status/shutdown commands
- fix path check that sets `$ZINC_INSTALL_FLAG`, which was incorrectly
causing zinc to be shutdown and restarted every time (with mismatched
ports on those commands to boot)
- pass `-DzincPort=${ZINC_PORT}` to maven, to use the correct zinc port
when building
Author: Ryan Williams <ryan.blake.williams@gmail.com>
Closes #7944 from ryan-williams/zinc-status and squashes the following commits:
619c520 [Ryan Williams] fix zinc status/shutdown commands
(cherry picked from commit e27a8c4)
Signed-off-by: Sean Owen <sowen@cloudera.com>
- pass `$ZINC_PORT` to zinc status/shutdown commands
- fix path check that sets `$ZINC_INSTALL_FLAG`, which was incorrectly
causing zinc to be shutdown and restarted every time (with mismatched
ports on those commands to boot)
- pass `-DzincPort=${ZINC_PORT}` to maven, to use the correct zinc port
when building
Author: Ryan Williams <ryan.blake.williams@gmail.com>
Closes #7944 from ryan-williams/zinc-status and squashes the following commits:
619c520 [Ryan Williams] fix zinc status/shutdown commands
(cherry picked from commit e27a8c4)
Signed-off-by: Sean Owen <sowen@cloudera.com>
$ZINC_PORTto zinc status/shutdown commands$ZINC_INSTALL_FLAG, which was incorrectlycausing zinc to be shutdown and restarted every time (with mismatched
ports on those commands to boot)
-DzincPort=${ZINC_PORT}to maven, to use the correct zinc portwhen building