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

    https://github.com/apache/spark/pull/1813#discussion_r16376702
  
    --- Diff: project/SparkBuild.scala ---
    @@ -259,12 +265,19 @@ object Assembly {
       import sbtassembly.Plugin._
       import AssemblyKeys._
     
    +  private val relocators = List(
    +    new Relocator("com.google", "org.spark-project.guava", 
Seq("com\\.google\\.common\\..*".r),
    +      Seq("com\\.google\\.common\\.base\\.Optional.*".r)))
    +  private val shade = new ShadeStrategy(relocators)
    +
       lazy val settings = assemblySettings ++ Seq(
         test in assembly := {},
         jarName in assembly <<= (version, moduleName) map { (v, mName) => 
mName + "-"+v + "-hadoop" +
           Option(System.getProperty("hadoop.version")).getOrElse("1.0.4") + 
".jar" },
         mergeStrategy in assembly := {
           case PathList("org", "datanucleus", xs @ _*)             => 
MergeStrategy.discard
    +      case PathList("org", "objectweb", "asm", xs @ _*)        => 
MergeStrategy.discard
    --- End diff --
    
    Is this related to SPARK-2848?


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