Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5755#discussion_r29311362
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -722,13 +722,31 @@ private[deploy] object SparkSubmitUtils {
       /**
        * Extracts maven coordinates from a comma-delimited string
        * @param remoteRepos Comma-delimited string of remote repositories
    +   * @param ivySettings The Ivy settings for this session
        * @return A ChainResolver used by Ivy to search for and resolve 
dependencies.
        */
    -  def createRepoResolvers(remoteRepos: Option[String]): ChainResolver = {
    +  def createRepoResolvers(remoteRepos: Option[String], ivySettings: 
IvySettings): ChainResolver = {
         // We need a chain resolver if we want to check multiple repositories
         val cr = new ChainResolver
         cr.setName("list")
     
    +    val localM2 = new IBiblioResolver
    +    localM2.setM2compatible(true)
    +    val m2Path = ".m2" + File.separator + "repository" + File.separator
    --- End diff --
    
    ah I guess that comes with `setM2compatible`.


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