GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/10558

    [SPARK-10359][PROJECT-INFRA] Use a more random suffix in 
dev/test-dependencies.sh

    This patch aims to fix another potential source of flakiness in the 
`dev/test-dependencies.sh` script.
    
    @pwendell's original patch and my version used `$(date +%s | tail -c6)` to 
generate a suffix to use when installing temporary Spark versions into the 
local Maven cache, but this value only changes once per second and thus is 
highly collision-prone when concurrent builds launch on AMPLab Jenkins. In 
order to reduce the potential for conflicts, this patch updates the script to 
call Python's random number generator instead.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark build-dep-tests-round-3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10558.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 #10558
    
----
commit 8e86e9c41f9cf813bf92791cb85567c4a5b843cb
Author: Josh Rosen <joshro...@databricks.com>
Date:   2016-01-02T21:59:10Z

    Use a more random suffix in dev/test-dependencies.sh

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to