[UI][EDP] Current validation is too loose for MapReduce and Java jobs
Bug #1272506 reported by
Trevor McKay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Medium
|
Chad Roberts |
Bug Description
For MapReduce and Java jobs, validation allows "mains" or "libs" to be set to pass validation. The truth is, for MapReduce and Java jobs "libs" must be set -- Oozie will only distribute files in "libs" for those job types. Putting something only in "mains" will result in a class not found error.
In fact, putting anything in "mains" for those job types is useless.
The UI should communicate this to the user, too.
description: | updated |
description: | updated |
Changed in savanna: | |
status: | New → Fix Committed |
assignee: | nobody → Chad Roberts (croberts) |
importance: | Undecided → Medium |
Changed in savanna: | |
milestone: | none → icehouse-3 |
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/69019 /git.openstack. org/cgit/ openstack/ savanna/ commit/ ?id=98035a4f532 60f6f496a0c5c44 1c6cdb78c5b5b3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 98035a4f53260f6 f496a0c5c441c6c db78c5b5b3
Author: Trevor McKay <email address hidden>
Date: Fri Jan 24 16:20:19 2014 -0500
Require "libs" for MapReduce and Java jobs and disallow "mains"
The validation for MapReduce and Java job types was too loose.
It required that mains or libs be set, but in reality libs is
required and mains is useless in Oozie workflows for these types.
Partial-Bug: #1272506
Change-Id: I94a86f95813467 41f935e2b79b3ba 582b06f1f76