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

Balu Vellanki commented on OOZIE-1991:
--------------------------------------

[~puru] I noticed this behavior, please fix if this is not expected behavior.

Oozie bulk API is not returning the coordinator-jobs that belong to a bundle as 
described in 
https://oozie.apache.org/docs/4.0.1/WebServicesAPI.html#Jobs_information_using_Bulk_API

[ambari-qa@local falcon-0.6-incubating-SNAPSHOT]$ oozie jobs -bulk 
bundle=FALCON_PROCESS_cleanseEmailProcess,FALCON_FEED_cleansedEmailFeed,FALCON_PROCESS_rawEmailIngestProcess;actionStatus=WAITING,READY,SUBMITTED,RUNNING,SUSPENDED,TIMEDOUT,SUCCEEDED,KILLED,FAILED
Bulk request criteria did not match any coordinator actions

[ambari-qa@local falcon-0.6-incubating-SNAPSHOT]$ oozie jobs -bulk 
bundle=FALCON_FEED_cleansedEmailFeed;actionStatus=WAITING,READY,SUBMITTED,RUNNING,SUSPENDED,TIMEDOUT,SUCCEEDED,KILLED,FAILED
Error: E0603 : E0603: SQL error in operation, E0603: SQL error in operation, 
Non-unique bundles present for same bundle name: FALCON_FEED_cleansedEmailFeed

In both cases, I can look at Oozie UI and see that there are coordinator jobs 
running for the specified bundle names. 


> 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