GitHub user gczsjdy opened a pull request:
https://github.com/apache/spark/pull/20809
[CORE] Better scala version check
## What changes were proposed in this pull request?
In some cases when outer project use pre-built Spark as dependency,
`getScalaVersion` will fail due to `launcher` directory doesn't exist. This PR
also checks in `jars` directory.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gczsjdy/spark scala_version_check
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20809.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 #20809
----
commit 49c6198e9bfd2de986ca2bb9d7fc153f1b4c6be0
Author: GuoChenzhao <chenzhao.guo@...>
Date: 2018-03-13T08:13:04Z
Better scala version check
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]