Giter VIP home page Giter VIP logo

Comments (3)

brunolnetto avatar brunolnetto commented on June 19, 2024 2

Noice! Someone should notify Apache, Python 2 is being deprecated

from incubator-livy.

mvanderlee avatar mvanderlee commented on June 19, 2024

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.

mvanderlee avatar mvanderlee commented on June 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.