Fix misleading error message from incompatible Java version

Description

running (with Java 7):
bin/sparkling-shell --num-executors 3 --executor-memory 2g --master yarn --deploy-mode client

causes an error message:
You are trying to use Sparkling Water built for Spark 2.4.3, but your Spark is of version 52.0. Please ensure correct Spark is provided and re-run Sparkling Water.

This implies incompatible SW and Spark versions, while actual cause is incompatible Java version.

Assignee

Jakub Hava

Reporter

Tomas Pastorek

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

ReleaseNotesHidden

None

Fix versions

Priority

Minor
Configure