[ 
https://issues.apache.org/jira/browse/OOZIE-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822065#comment-15822065
 ] 

Rohini Palaniswamy commented on OOZIE-2691:
-------------------------------------------

Comments on the output and API below. Will update code review comments on 
review board.

   - Action ids make it simple, but operation on those should semantically be 
part of a "action" command and not "job" command. But that is too much of a 
hassle to add a new one. So just use -action option to specify the action be 
consistent with rest of the commands. ie
job -info 0000000-161212175234862-oozie-puru-W@pig-node -oozie 
http://localhost:11000/oozie -retries to 
job -info 0000000-161212175234862-oozie-puru-W -action pig-node -oozie 
http://localhost:11000/oozie -retries
   - Use the word attempt instead of retry for the different attempts. i.e
{code}
Attempt          : 1
Start Time     : Tue, 13 Dec 2016 01:54:13 GMT
{code}
   - Same for json response. Can also remove the additional nesting.
{code}
action_retries : [
{
   attempt: 1
   startTime: ...
}
{
   attempt: 2,
   startTime: ...
}
]
{code}

> Show workflow action retry count to UI
> --------------------------------------
>
>                 Key: OOZIE-2691
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2691
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Purshotam Shah
>            Assignee: Purshotam Shah
>         Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, screenshot.png
>
>
> CLI
> {code}
> $ oozie job -info 0000000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 0000000-161212175234862-oozie-puru-W@:start:
> No Retries
> -----------------------------------------------------------------------------------------------
> $ oozie job -info 0000000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 0000000-161212175234862-oozie-puru-W@pig-node
> -----------------------------------------------------------------------------------------------
> Retry          : 1
> Start Time     : Tue, 13 Dec 2016 01:54:13 GMT
> End Time       : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL    : 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> -----------------------------------------------------------------------------------------------
> Retry          : 2
> Start Time     : Tue, 13 Dec 2016 01:55:20 GMT
> End Time       : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL    : 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> -----------------------------------------------------------------------------------------------
> Retry          : 3
> Start Time     : Tue, 13 Dec 2016 01:56:24 GMT
> End Time       : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL    : 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> -----------------------------------------------------------------------------------------------
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to