[EDP] Wrong validation to run jar job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
High
|
Alexander Ignatov |
Bug Description
To run the jar job for Oozie necessary to specify jar script in the libs but not in the mains.
But can't send an empty field 'mains'.
_______
By example:
POST http://<savanna_
body:
{
"name": "<job_name>"
"type": "Jar"
"mains":[]
"libs":
}
-------
expected result:
202
actual result:
400
_______
But if create job with body:
{
"name": "<job_name>"
"type": "Jar"
"mains"
"libs":
}
then it can start and it has successfully completed
Changed in savanna: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alexander Ignatov (aignatov) |
milestone: | none → 0.3 |
summary: |
- EDP, Wrong validation to run jar jod. + [EDP] Wrong validation to run jar job |
tags: | added: 0.3 |
Changed in savanna: | |
milestone: | 0.3 → 0.3-rc3 |
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Changed in savanna: | |
milestone: | 0.3-rc3 → 0.3 |
Fix proposed to branch: master /review. openstack. org/51211
Review: https:/