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

Purshotam Shah commented on OOZIE-1991:
---------------------------------------

Correct command is
oozie jobs -bulk 
'bundle=0000000-140903173105958-oozie-puru-B;actionstatus=WAITING'  -oozie 
http://localhost:11000/oozie
You need to specify actionstatus, otherwise it it take default (KILLED,FAILED).

Also, if you are using from CLI make sure to escape ";" with "\" or put all 
param in single quote.
Ex.
oozie jobs -bulk 
bundle=0000000-140903173105958-oozie-puru-B\;actionstatus=WAITING
 
I just verified on my local setup and it works fine.




> Oozie Bulk Jobs API does not work as documented
> -----------------------------------------------
>
>                 Key: OOZIE-1991
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1991
>             Project: Oozie
>          Issue Type: Bug
>          Components: bundle
>            Reporter: Balu Vellanki
>            Assignee: Bowen Zhang
>             Fix For: 4.1.0
>
>
> - Start oozie, and submit a bundle job with bundle name "test-35-1"
> - Wait until job is running
> - Run bulk jobs monitoring CLI as described in 
> https://oozie.apache.org/docs/4.0.1/DG_CommandLineTool.html#Bulk_monitoring_for_jobs_launched_via_Bundles
> {quote}
> bash# bin/oozie jobs -oozie http://localhost:11000/oozie -bulk 
> bundle=test-35-1 
> Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true -Dfile.encoding=UTF8
> Bulk request criteria did not match any coordinator actions
> {quote}
> It should have returned the jobs that match bundle test-35-1



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

Reply via email to