[
https://issues.apache.org/jira/browse/OOZIE-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561592#comment-16561592
]
Andras Piros commented on OOZIE-3309:
-------------------------------------
Thanks for the contribution [~asalamon74]! +1
> Runtime error during /v2/sla filtering for bundle
> -------------------------------------------------
>
> Key: OOZIE-3309
> URL: https://issues.apache.org/jira/browse/OOZIE-3309
> Project: Oozie
> Issue Type: Bug
> Components: client
> Affects Versions: 5.1.0
> Environment: Mac OS X
> Reporter: Andras Salamon
> Assignee: Andras Salamon
> Priority: Minor
> Attachments: OOZIE-3309-1.patch
>
>
> Filtering for a nonexistent bundle using /v2/sla servlet gives a runtime
> error instead of returning an empty list:
> {noformat}
> http://localhost:11000/oozie/v2/sla?timezone=GMT&filter=bundle=xxxx{noformat}
> returns the following json
> {noformat}
> // 20180725123005
> // http://localhost:11000/oozie/v2/sla?timezone=GMT&filter=bundle=xxxx
> {
> "errorMessage": "E0307: Runtime error [null]",
> "httpStatusCode": 500
> }{noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)