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

NPE in session manager cleanup thread

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.7.0
    • Component/s: Server
    • Labels:
      None

      Description

      Saw this when running unit tests. Tests pass, but there is this exception in the output which may mean a more serious bug.

      Exception in thread "session gc thread" java.lang.NullPointerException
              at org.apache.livy.sessions.SessionManager.delete(SessionManager.scala:111)
              at org.apache.livy.sessions.SessionManager$$anonfun$collectGarbage$2.apply(SessionManager.scala:152)
              at org.apache.livy.sessions.SessionManager$$anonfun$collectGarbage$2.apply(SessionManager.scala:152)
              at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
              at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
              at scala.collection.immutable.List.foreach(List.scala:392)
              at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
              at scala.collection.immutable.List.map(List.scala:296)
              at org.apache.livy.sessions.SessionManager.collectGarbage(SessionManager.scala:152)
              at org.apache.livy.sessions.SessionManager$GarbageCollector.run(SessionManager.scala:181)
      

        Attachments

          Activity

            People

            • Assignee:
              gyogal Gyorgy Gal
              Reporter:
              vanzin Marcelo Masiero Vanzin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: