[
https://issues.apache.org/jira/browse/OOZIE-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832168#comment-15832168
]
Purshotam Shah commented on OOZIE-2691:
---------------------------------------
{quote}
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
{quote}
We use action when we need provide multiple actions, like in coord where we
provide actions as a list, range, etc..
But in this case there is only one action, so it more easy to use actionID
rather than using the job and having addition option to provide action name.
We support -info 0000000-161212175234862-oozie-puru-W@pig-node. I think it's
more clear and easier ti use -retries.
We don't need two commands for that. Uploaded patch only uses -retries.
Comments 2 and 3 are addressed.
Uploaded UI snapshot.
> 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, OOZIE-2691-V3.patch, screenshot.png, UI.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)