[
https://issues.apache.org/jira/browse/LIVY-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mnr Bsf updated LIVY-1010:
--------------------------
Description:
It will be good to keep the Apache Livy project up to date with the latest
Spark version (3.5.4).
{code:java}
livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Current Spark (3,5) is
not verified in Livy, please use it carefully
livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Spark version (3,5) is
greater then the maximum version (3,0) supported by Livy, will choose Scala
version 2.12 instead, please specify manually if it is the expected Scala
version you want {code}
Tried Apache Livy 0.8 for Spark 3.5.4 and did not work with Java 8, 11, 17.
Java 17, I was not able to start an Apache Livy session
{code:java}
Exception in thread "main" java.util.concurrent.ExecutionException:
javax.security.sasl.SaslException: Client closed before SASL negotiation
finished {code}
Java 8, 11, I was able to start a session, but running a basic code like
creating a sample Spark dataframe throughs this exception:
{code:java}
'JavaPackage' object is not callable
Traceback (most recent call last):
File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1443,
in createDataFrame
return self._create_dataframe(
File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1485,
in _create_dataframe
rdd, struct = self._createFromLocal(map(prepare, data), schema)
File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1093,
in _createFromLocal
struct = self._inferSchemaFromList(data, names=schema)
File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 954, in
_inferSchemaFromList
prefer_timestamp_ntz = is_timestamp_ntz_preferred()
File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 153, in
is_timestamp_ntz_preferred
return jvm is not None and jvm.PythonSQLUtils.isTimestampNTZPreferred()
TypeError: 'JavaPackage' object is not callable{code}
was:
It will be good to keep the Apache Livy project up to date with the latest
Spark version (3.5.4).
{code:java}
livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Current Spark (3,5) is
not verified in Livy, please use it carefully
livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Spark version (3,5) is
greater then the maximum version (3,0) supported by Livy, will choose Scala
version 2.12 instead, please specify manually if it is the expected Scala
version you want {code}
Tried Apache Livy 0.8 for Spark 3.5.4 and did not work with Java 11, 17.
Thanks
> Add support for Spark 3.5.4
> ---------------------------
>
> Key: LIVY-1010
> URL: https://issues.apache.org/jira/browse/LIVY-1010
> Project: Livy
> Issue Type: Improvement
> Affects Versions: 0.9.0
> Reporter: Mnr Bsf
> Priority: Major
> Fix For: 0.9.0
>
>
> It will be good to keep the Apache Livy project up to date with the latest
> Spark version (3.5.4).
> {code:java}
> livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Current Spark (3,5) is
> not verified in Livy, please use it carefully
> livy-server | 25/02/04 22:42:48 WARN LivySparkUtils$: Spark version (3,5) is
> greater then the maximum version (3,0) supported by Livy, will choose Scala
> version 2.12 instead, please specify manually if it is the expected Scala
> version you want {code}
> Tried Apache Livy 0.8 for Spark 3.5.4 and did not work with Java 8, 11, 17.
> Java 17, I was not able to start an Apache Livy session
> {code:java}
> Exception in thread "main" java.util.concurrent.ExecutionException:
> javax.security.sasl.SaslException: Client closed before SASL negotiation
> finished {code}
> Java 8, 11, I was able to start a session, but running a basic code like
> creating a sample Spark dataframe throughs this exception:
> {code:java}
> 'JavaPackage' object is not callable
> Traceback (most recent call last):
> File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1443,
> in createDataFrame
> return self._create_dataframe(
> File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1485,
> in _create_dataframe
> rdd, struct = self._createFromLocal(map(prepare, data), schema)
> File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 1093,
> in _createFromLocal
> struct = self._inferSchemaFromList(data, names=schema)
> File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/session.py", line 954,
> in _inferSchemaFromList
> prefer_timestamp_ntz = is_timestamp_ntz_preferred()
> File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 153, in
> is_timestamp_ntz_preferred
> return jvm is not None and jvm.PythonSQLUtils.isTimestampNTZPreferred()
> TypeError: 'JavaPackage' object is not callable{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)