PySparkling cannot parse embedded version.txt file.
Description
1. Download https://h2o-release.s3.amazonaws.com/sparkling-water/spark-2.4/master/nightly/3.28.1-13-2.4/index.html
2.
where `ex.py` is:
Error is:
Activity
Show:
Jakub Hava
August 16, 2019, 6:03 AM
Edited
In case of nightly the call Initializer.getVersion returns u'3.28.1-13-2.4'
That is correct version -13 is the nightly build number, but
pysparkling_spark_version = __version__.split("-")[1].split(".") in pysparkling.__init__.py
does not account for this. We need to find the last dash and the remaining as spark version
Â
Fixed
Assignee
Reporter
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