You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Gyorgy Gal (Jira)" <ji...@apache.org> on 2023/04/18 12:18:00 UTC

[jira] [Resolved] (LIVY-967) Return session information with livy sessions APIs

     [ https://issues.apache.org/jira/browse/LIVY-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gyorgy Gal resolved LIVY-967.
-----------------------------
    Resolution: Fixed

> Return session information with livy sessions APIs
> --------------------------------------------------
>
>                 Key: LIVY-967
>                 URL: https://issues.apache.org/jira/browse/LIVY-967
>             Project: Livy
>          Issue Type: Improvement
>          Components: API
>            Reporter: Vedant Lodha
>            Assignee: Asif Khatri
>            Priority: Critical
>             Fix For: 0.8.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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|https://livy.incubator.apache.org/docs/latest/rest-api.html#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
>  # jars
>  # pyFiles
>  # files
>  # driverMemory
>  # driverCores
>  # executorMemory
>  # executorCores
>  # numExecutors
>  # archives
>  # queue
>  # name
>  # conf
>  # heartbeatTimeoutInSecond
> The API should return these fields with the response as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)