Shell scripts miss-leading error message

Description

When Java is not configured on the machine properly and we try to run sparkling water, we get miss-leading message such as:

You are trying to use Sparkling Water built for Spark 2.1.0, but your $SPARK_HOME(=/Users/kuba/programs/spark-2.1.0-bin-hadoop2.7) property points to Spark of version /Users/kuba/programs/spark-2.1
/Users/kuba/programs/spark-2.1. Please ensure correct Spark is provided and re-run Sparkling Water.

Even though the properties are correctly set

Status

Assignee

Jakub Hava

Reporter

Jakub Hava

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

Fix versions

Priority

Major
Configure