GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/15456
[SPARK-17686][Core] Support printing out scala and java version with
spark-submit --version command
## What changes were proposed in this pull request?
In our universal gateway service we need to specify different jars to Spark
according to scala version. For now only after launching Spark application can
we know which version of Scala it depends on. It makes hard for us to support
different Scala + Spark versions to pick the right jars.
So here propose to print out Scala version according to Spark version in
"spark-submit --version", so that user could leverage this output to make the
choice without needing to launching application.
## How was this patch tested?
Manually verified in local environment.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-17686
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15456.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 #15456
----
commit 98e70150f26ee6d1fd0e587b59ba7467d70dcfe3
Author: jerryshao <[email protected]>
Date: 2016-10-13T02:07:46Z
print out scala and java version with --version command
----
---
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]