Uh oh!
There was an error while loading. Please reload this page.
[SPARK-12413] Fix Mesos ZK persistence - #10366
Conversation
andrewor14
commented
Dec 17, 2015
add to whitelist |
There was a problem hiding this comment.
this line will fail style tests because it's too long. Need to break it into 2
SparkQA
commented
Dec 17, 2015
Test build #47959 has finished for PR 10366 at commit
|
andrewor14
commented
Dec 17, 2015
I was able to verify SI-6654 in the REPL and I believe this patch is the correct fix: |
andrewor14
commented
Dec 17, 2015
LGTM, retest this please |
andrewor14
commented
Dec 17, 2015
@mgummelt is this still WIP? If not can you remove that from the title? Also, any updates from your integration tests? |
mgummelt
commented
Dec 17, 2015
I included [WIP] to indicate that my integration test hasn't finished yet (still pending). Code should be frozen though. Would you like me to remove [WIP]? |
andrewor14
commented
Dec 17, 2015
Yes |
There was a problem hiding this comment.
Actually, there's a slightly nicer way...
// Do not use `filterKeys` here to avoid SI-6654, which breaks ZK persistence
val environmentVariables = request.environmentVariables.filter { case (k, _) =>
k != "SPARK_HOME"
}
so we don't have to do the weird filterKeys(...).map(identity) thing
mgummelt
commented
Dec 17, 2015
Fixed |
SparkQA
commented
Dec 17, 2015
Test build #2226 has started for PR 10366 at commit |
SparkQA
commented
Dec 17, 2015
Test build #2225 has started for PR 10366 at commit |
mgummelt
commented
Dec 17, 2015
Test failure looks like some sort of timeout? https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47962/console |
andrewor14
commented
Dec 17, 2015
It's OK, we have 2 builds that are actually running. Hopefully one of them will pass. |
andrewor14
commented
Dec 18, 2015
retest this please. I'm not sure why it's timing out on tests. AFAIK this file isn't even used in tests. |
SparkQA
commented
Dec 18, 2015
Test build #2229 has started for PR 10366 at commit |
SparkQA
commented
Dec 18, 2015
Test build #47960 has finished for PR 10366 at commit
|
nraychaudhuri
commented
Dec 18, 2015
retest this please |
SparkQA
commented
Dec 18, 2015
Test build #47974 has finished for PR 10366 at commit
|
SparkQA
commented
Dec 18, 2015
Test build #2228 has finished for PR 10366 at commit
|
SparkQA
commented
Dec 18, 2015
Test build #2230 has finished for PR 10366 at commit
|
keithchambers
commented
Dec 18, 2015
Will this make 1.6.0? |
dragos
commented
Dec 18, 2015
LGTM. Thanks @mgummelt for catching and fixing this! |
tnachen
commented
Dec 18, 2015
LGTM as well. |
sarutak
commented
Dec 18, 2015
LGTM. Merging into |
I believe this fixes SPARK-12413. I'm currently running an integration test to verify. Author: Michael Gummelt <mgummelt@mesosphere.io> Closes#10366 from mgummelt/fix-zk-mesos. (cherry picked from commit 2bebaa3) Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
andrewor14
commented
Dec 19, 2015
Note: I'm reverting this patch in master only since #10329, the better alternative, is merged there. |
keithchambers
commented
Dec 19, 2015
@andrewor14 makes sense. Thank you! |
There was a problem hiding this comment.
Should a scalastyle rule be added which prevents filterKeys to be used in future PRs ?
I believe this fixes SPARK-12413. I'm currently running an integration test to verify.