GitHub user sarutak opened a pull request:

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

    [SPARK-3787] Assembly jar name is wrong when we build with sbt omitting 
-Dhadoop.version

    This PR is another solution for When we build with sbt with profile for 
hadoop and without property for hadoop version like:
    
        sbt/sbt -Phadoop-2.2 assembly
    
    jar name is always used default version (1.0.4).
    
    When we build with maven with same condition for sbt, default version for 
each profile is used.
    For instance, if we  build like:
    
        mvn -Phadoop-2.2 package
    
    jar name is used hadoop2.2.0 as a default version of hadoop-2.2.

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

    $ git pull https://github.com/sarutak/spark fix-assembly-jarname-2

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

    https://github.com/apache/spark/pull/3046.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 #3046
    
----
commit eebbb7d03423efefcf1cdfb4bab8cbf7348f08a7
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-03T22:13:47Z

    Fixed wrong jar name

commit 5fc12597afe5964c7b9f688fd2919426b928b3ec
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-04T05:00:07Z

    Fixed typo.

commit b2318eb227d59dbd61d2dd8a24592cdc2f64ac2b
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-06T14:16:50Z

    Merge branch 'master' of git://git.apache.org/spark into 
fix-assembly-jarname

commit ad1f96ea36f7a4750d6fdaf3ab91239a20a7e6a1
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-07T15:56:04Z

    Merge branch 'master' of git://git.apache.org/spark into 
fix-assembly-jarname

commit c81806bda4744382d2657441404cbb1206c3aa8a
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-11T03:24:14Z

    Merge branch 'master' of git://git.apache.org/spark into 
fix-assembly-jarname

commit af6b1005accd6310007992e8d96103b9a50f7de8
Author: Kousuke Saruta <[email protected]>
Date:   2014-10-31T21:23:53Z

    Merge branch 'master' of git://git.apache.org/spark into 
fix-assembly-jarname

commit f1c90bb2957f604522ee1d03f8be3d770c0d9e32
Author: Kousuke Saruta <[email protected]>
Date:   2014-11-01T00:14:47Z

    Fixed SparkBuild.scala in order to read `hadoop.version` property from 
pom.xml

----


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