Comments (3)
Noice! Someone should notify Apache, Python 2 is being deprecated
from incubator-livy.
I'm running into the same issue. These are 2 failing tests:
BatchSessionSpec:
A Batch process
- should create a process *** FAILED *** (1 second, 30 milliseconds)
false was not true (BatchSessionSpec.scala:94)
BatchServletSpec:
Batch Servlet
- should create and tear down a batch *** FAILED *** (1 second, 118 milliseconds)
false was not true (BatchServletSpec.scala:121)
from incubator-livy.
@brunolnetto I found the issue.
The tests include Python2 code that doesn't work in Python3.
i.e: print "hello world"
instead of print("hello world")
The fix is to write the lines for Python3:
https://github.com/apache/incubator-livy/blob/master/server/src/test/scala/org/apache/livy/server/batch/BatchSessionSpec.scala#L51
https://github.com/apache/incubator-livy/blob/master/server/src/test/scala/org/apache/livy/server/batch/BatchServletSpec.scala#L46
from incubator-livy.
Related Issues (16)
- New livy release request HOT 2
- livy0.7.1 Request failed HOT 1
- Error[Failed to launch livy session, session status is dead] on connecting to spark through livy using R
- Build with scala 2.12.15 is failing, spark3.3.1, hadoop:3.3.4, hive:3.1..3 HOT 2
- 和spark 3.2.0 及以上版本兼容问题 HOT 11
- The SparkStreaming operator fails to execute
- Escape backtick from spark-submit arguments HOT 3
- Build fails when using -Pscala-2.12 HOT 1
- Does Livy support Flink
- livy:What are the plans for the later stage
- 【livy-8.0-2.12 spark3.2.1】kerberos认证问题
- can user auto run the init script when the livy session is created?
- {”msg”:“Rejected, Reason: Blacklisted configuration values in session config: spark.submit.deployMode”}
- livy 传参问题 HOT 1
- Can Livy not rely on Spark
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-livy.