{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10558","labels_url":"https://api.github.com/repos/apache/spark/issues/10558/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10558/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10558/events","html_url":"https://github.com/apache/spark/pull/10558","id":124613653,"number":10558,"title":"[SPARK-10359][PROJECT-INFRA] Use more random number in dev/test-dependencies.sh; fix version switching","user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-02T22:02:07Z","updated_at":"2016-01-03T05:19:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10558","html_url":"https://github.com/apache/spark/pull/10558","diff_url":"https://github.com/apache/spark/pull/10558.diff","patch_url":"https://github.com/apache/spark/pull/10558.patch"},"body":"This patch aims to fix another potential source of flakiness in the `dev/test-dependencies.sh` script.\r\n\r\n@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."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/168463290","html_url":"https://github.com/apache/spark/pull/10558#issuecomment-168463290","issue_url":"https://api.github.com/repos/apache/spark/issues/10558","id":168463290,"user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T05:19:07Z","updated_at":"2016-01-03T05:19:07Z","body":"Pushed a fix for the version issue, so I'm going to run this a few more times then will merge if it's passing."}}