Open brunolnetto opened 1 year ago
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)
@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
Noice! Someone should notify Apache, Python 2 is being deprecated
Hi,
I try host locally this solution for apache spark on its language flavors with command run
docker build -t livy-ci dev/docker/livy-dev-base/
. After some installation steps, the error log appers on terminal. I attempt on Linux Ubuntu 20.04.