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

Purshotam Shah commented on OOZIE-1532:
---------------------------------------

{code}
$oozie job -oozie http://localhost:11000/oozie -info 
0000021-140711160555062-oozie-puru-C  -len 4 -order desc 
Job ID : 0000021-140711160555062-oozie-puru-C
------------------------------------------------------------------------------------------------------------------------------------
Job Name    : coord-20
App Path    : 
hdfs://localhost:9000/user/purushah/examples/apps/bundle/coordinator.xml
Status      : RUNNING
Start Time  : 2013-01-01 01:00 GMT
End Time    : 2014-01-01 01:00 GMT
Pause Time  : -
Concurrency : 1
------------------------------------------------------------------------------------------------------------------------------------
ID                                         Status    Ext ID                     
          Err Code  Created              Nominal Time         
0000021-140711160555062-oozie-puru-C@4     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:15 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@3     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:10 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@2     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:05 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@1     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:00 GMT 
------------------------------------------------------------------------------------------------------------------------------------
$ 

$ oozie job -oozie http://localhost:11000/oozie -info 
0000021-140711160555062-oozie-puru-C   -order desc
Job ID : 0000021-140711160555062-oozie-puru-C
------------------------------------------------------------------------------------------------------------------------------------
Job Name    : coord-20
App Path    : 
hdfs://localhost:9000/user/purushah/examples/apps/bundle/coordinator.xml
Status      : RUNNING
Start Time  : 2013-01-01 01:00 GMT
End Time    : 2014-01-01 01:00 GMT
Pause Time  : -
Concurrency : 1
------------------------------------------------------------------------------------------------------------------------------------
ID                                         Status    Ext ID                     
          Err Code  Created              Nominal Time         
0000021-140711160555062-oozie-puru-C@12    WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:55 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@11    WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:50 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@10    WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:45 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@9     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:40 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@8     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:35 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@7     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:30 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@6     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:25 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@5     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:20 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@4     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:15 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@3     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:10 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@2     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:05 GMT 
------------------------------------------------------------------------------------------------------------------------------------
0000021-140711160555062-oozie-puru-C@1     WAITING   -                          
          -         2014-07-11 23:06 GMT 2013-01-01 01:00 GMT 
------------------------------------------------------------------------------------------------------------------------------------
$ 
{code}

I am reopening this. It break a major functionality. 
"-len 4 -order desc" should return latest 4, not 1-4 coord action in desc order.


> Purging should remove completed children job for long running coordinator jobs
> ------------------------------------------------------------------------------
>
>                 Key: OOZIE-1532
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1532
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Srikanth Sundarrajan
>            Assignee: Bowen Zhang
>         Attachments: oozie-1532.patch, oozie-1532.patch, oozie-1532.patch, 
> oozie-1532.patch
>
>
> Specifically, this is for long running coordinator jobs with high frequency. 
> all child workflows are never purged as the coord job is still running.
> Oozie server configuration that indicates how many coordinator actions 
> frequency ticks to keep. By doing this it would be possible to purge running 
> coord jobs. By default this would not be enabled and the current logic would 
> remain.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to