GitHub user pierre-borckmans opened a pull request:

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

    Remove hardcoded Spark version string to use SBT defined version instead

    This PR attempts to remove hardcoded references to the Spark version which 
must be updated for each release.
    
    This PR uses the version defined in the main sbt definition file 
(project/SparkBuild.scala - ``SPARK_VERSION``). When the sbt 
compile/package/assembly is triggered, this string is used as the version in 
JAR manifest.
    
    We then use ``getClass.getPackage.getImplementationVersion`` to refer to 
this string.
    
    As a demonstration of potential use cases, the master ui page is modified 
to display the Spark version.
    
    


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

    $ git pull https://github.com/pierre-borckmans/spark master

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

    https://github.com/apache/spark/pull/600.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 #600
    
----
commit 12769f4e7a8ab564c01c0a9a98f48f8fbbf7642c
Author: pierre-borckmans <[email protected]>
Date:   2014-04-30T15:52:12Z

    Remove hardcoded Spark version - use the version from the manifest (SBT) 
instead

commit f7c2298a7769d83fe52b6e9516d2b3ebfc219056
Author: pierre-borckmans <[email protected]>
Date:   2014-04-30T15:52:58Z

    Add spark version label in ui (master index page)

commit d26bc1e8d4cf7f2e39416824728765ca14053980
Author: pierre-borckmans <[email protected]>
Date:   2014-04-30T15:53:51Z

    Merge remote-tracking branch 'upstream/master'

----


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

Reply via email to