GitHub user a-roberts opened a pull request:
https://github.com/apache/spark/pull/6727
Specify stack size for consistency with Java tests - resolves test failures
This change is a simple one and specifies a stack size of 4096k instead of
the vendor default for Java tests (the defaults vary between Java vendors).
This remedies test failures observed with JavaALSSuite with IBM and Oracle Java
owing to a lower default size in comparison to the size with OpenJDK. 4096k is
a suitable default where the tests pass with each Java vendor tested. The
alternative is to reduce the number of iterations in the test (no observed
failures with 5 iterations instead of 15).
-Xss works with Oracle's HotSpot VM, IBM's J9 VM and OpenJDK (IcedTea).
I have ensured this does not have any negative implications for other tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/a-roberts/spark IncJavaStackSize
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6727.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6727
----
commit 5032d8d3921149f8f55c11a01094c2165b52201d
Author: a-roberts <[email protected]>
Date: 2015-06-09T17:49:21Z
Update pom.xml
Increase stack size - defaults vary between Java vendors. This remedies
test failures observed with JavaALSSuite with IBM & Oracle Java owing to lower
default size in comparison to OpenJDK.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]