You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Tae Jun Kim (JIRA)" <ji...@apache.org> on 2016/08/29 11:54:20 UTC
[jira] [Created] (ZEPPELIN-1390) SparkInterpreter does not work for
spark2 version of HDP 2.5
Tae Jun Kim created ZEPPELIN-1390:
-------------------------------------
Summary: SparkInterpreter does not work for spark2 version of HDP 2.5
Key: ZEPPELIN-1390
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1390
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.6.1, 0.7.0
Environment: HDP 2.5
Reporter: Tae Jun Kim
Priority: Blocker
### What is this PR for?
Spark2 version of HDP 2.5 is "2.0.0.2.5.0.0-1245".
Currently, Zeppelin parses this version to integer 2002500, which is higher than version "2.0.0" (i.e. 200 in integer).
Therefore, Zeppelin thinks it's not supported version and fail.
I fixed some codes to consider major, minor, and patch version.
Version parsed using only first 3 numbers (major, minor, patch) and parsed into a 5-digit integer.
For example, 2.0.0 -> 20000, 1.6.2 -> 10602, 1.10.1 -> 11001.
Maybe Spark's minor version can be a 2-digit number in the future, so this code is more robust than before.
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533]
### How should this be tested?
I changed SparkVersion test codes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)