spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwendell <...@git.apache.org>
Subject [GitHub] spark pull request: Remove hardcoded Spark version string to use S...
Date Wed, 30 Apr 2014 16:48:09 GMT
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/600#discussion_r12152899
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -1037,6 +1037,11 @@ private[spark] object Utils extends Logging {
         obj.getClass.getSimpleName.replace("$", "")
       }
     
    +  /** Return the current version of Spark */
    +  def getSparkVersion(): String = {
    +    getClass.getPackage.getImplementationVersion
    --- End diff --
    
    Does this also work in the maven build?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message