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

Arik W. Mitschang updated LIVY-885:
-----------------------------------
    Description: 
It might be useful to include information about the number of tasks:
 * active
 * failed
 * completed
 * total

And not just the progress (completed/total). In a similar manner to what is 
done now, these could be summation of each category for all stages of the 
statements job. The API could then return something like:

 
{code:java}
{ ..., "progress": 0.8, "tasks": {"active": 2, "completed": 8, "total": 10, 
"failed": 0 } }{code}
 

 

Users could then construct an indicator in the flavor of that in the spark UI. 

  was:
It might be useful to include information about the number of tasks:
 * active
 * failed
 * completed
 * total

And not just the progress (completed/total). In a similar manner to what is 
done now, these could be summation of each category for all stages of the 
statements job. The API could then return something like:

{{{ ...,}}{{  "progress": 0.8, }}{{{}"tasks": {{}}}{{{}"active": 2, 
{}}}{{"completed": 8,}}{{ "total": 10, "failed": 0 }}{{{}}{}}}{{{}}{}}}

 

Users could then construct an indicator in the flavor of that in the spark UI. 


> Report task information in addition to progress
> -----------------------------------------------
>
>                 Key: LIVY-885
>                 URL: https://issues.apache.org/jira/browse/LIVY-885
>             Project: Livy
>          Issue Type: Improvement
>          Components: REPL, RSC
>    Affects Versions: 0.7.0, 0.8.0
>         Environment: all
>            Reporter: Arik W. Mitschang
>            Priority: Major
>
> It might be useful to include information about the number of tasks:
>  * active
>  * failed
>  * completed
>  * total
> And not just the progress (completed/total). In a similar manner to what is 
> done now, these could be summation of each category for all stages of the 
> statements job. The API could then return something like:
>  
> {code:java}
> { ..., "progress": 0.8, "tasks": {"active": 2, "completed": 8, "total": 10, 
> "failed": 0 } }{code}
>  
>  
> Users could then construct an indicator in the flavor of that in the spark 
> UI. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to