Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-425

JobApiIT UT fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 0.9.0
    • Tests
    • None

    Description

      'create a new session and upload test jar' and 'connect to an existing session' UT fails intermittently with below error

      org.apache.livy.test.JobApiIT.connect to an existing session
      Error Message
      
      The code passed to eventually never returned normally. Attempted 309 times over 5.0064149996000005 minutes. Last failure message: assertion failed: HTTP status code != 200: 404 "Session '0' not found.".
      org.apache.livy.test.JobApiIT.create a new session and upload test jar
      Error Message
      
      java.io.IOException: Internal Server Error: "java.util.concurrent.ExecutionException: java.lang.RuntimeException: py4j.Py4JException: Error while obtaining a new communication channel\npy4j.CallbackClient.getConnectionLock(CallbackClient.java:155)\npy4j.CallbackClient.sendCommand(CallbackClient.java:229)\npy4j.reflection.PythonProxyHandler.invoke(PythonProxyHandler.java:111)\ncom.sun.proxy.$Proxy22.getLocalTmpDirPath(Unknown Source)\norg.apache.livy.repl.PythonInterpreter.addPyFile(PythonInterpreter.scala:264)\norg.apache.livy.repl.ReplDriver$$anonfun$addJarOrPyFile$1.apply(ReplDriver.scala:110)\norg.apache.livy.repl.ReplDriver$$anonfun$addJarOrPyFile$1.apply(ReplDriver.scala:110)\nscala.Option.foreach(Option.scala:257)\norg.apache.livy.repl.ReplDriver.addJarOrPyFile(ReplDriver.scala:110)\norg.apache.livy.rsc.driver.JobContextImpl.addJarOrPyFile(JobContextImpl.java:100)\norg.apache.livy.rsc.driver.AddJarJob.call(AddJarJob.java:39)\norg.apache.livy.rsc.driver.JobWrapper.call(JobWrapper.java:57)\norg.apache.livy.rsc.driver.JobWrapper.call(JobWrapper.java:34)\njava.util.concurrent.FutureTask.run(FutureTask.java:266)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\njava.lang.Thread.run(Thread.java:745)"

      Attachments

        Activity

          People

            Unassigned Unassigned
            yeshavora Yesha Vora
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: