Github user brkyvz commented on the pull request:

    https://github.com/apache/spark/pull/6928#issuecomment-113997802
  
    Hey @shivaram and @holdenk! I have a lot of package related utils 
[here](https://github.com/apache/spark/blob/master/core/src/test/scala/org/apache/spark/deploy/IvyTestUtils.scala).
 The most relevant methods I believe would be `withRepository`. You may take a 
look 
[here](https://github.com/apache/spark/blob/master/core/src/test/scala/org/apache/spark/deploy/SparkSubmitUtilsSuite.scala)
 for examples on how to use them. I strongly suggest against using a package 
from Maven Central, as they lead to a lot of flakiness. This has been a big 
problem in the last month


---
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]

Reply via email to