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

Return session information with livy sessions APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.8.0
    • API
    • None

    Description

      Currently livy GET /Sessions doesnt return fields like driver-executor memory, spark conf, etc. Ideally a session response should return all the values set in session request api call(POST /sessions).

       

       

       

      The current response for GET /sessions or GET /sessions/{id} is (ref: https://livy.incubator.apache.org/docs/latest/rest-api.html).

      Name Description Type
      id The session id int
      appId The application id of this session string
      owner Remote user who submitted this session string
      proxyUser User to impersonate when running string
      kind Session kind (spark, pyspark, sparkr, or sql) session kind
      log The log lines list of strings
      state The session state string
      appInfo The detailed application info Map of key=val

      However the session requests for additional spark related configurations like

      1. jars
      2. pyFiles
      3. files
      4. driverMemory
      5. driverCores
      6. executorMemory
      7. executorCores
      8. numExecutors
      9. archives
      10. queue
      11. name
      12. conf
      13. heartbeatTimeoutInSecond

      The API should return these fields with the response as well.

      Attachments

        Activity

          People

            asifkhatri Asif Khatri
            vedantlodha Vedant Lodha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h