Closed Bug 1318789 Opened 8 years ago Closed 8 years ago

ATMO V2: unable to create new spark job

Categories

(Cloud Services Graveyard :: Metrics: Pipeline, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ddurst, Assigned: jezdez)

References

Details

Attachments

(1 file)

Attempting to create a spark job with the name "Addon analysis" and an ipynb, I hit two issues:

1) it fails to submit, complaining about the "Job indentifier" (saying "Enter a valid value.") When I enter "Addon analysis" the Job identifier goes green and says "Identifier is available."

2) When I try to click on "Schedule", I get a doorhanger-like balloon at (0,0) of my viewport that says "Please select a file", even though the file upload control said "Just uploaded file: AddonAnalysis.ipynb\nThis file will be used when the form is successfully submitted"

I assume this problem stops me from re-creating any/all ipynb-based Jobs on ATMO v2 for the time being.
To clarify the bugs found here:

1) this is an issue with the job identifier validation and availability check overlapping. The first checks if the identifier contains any characters other than characters, digits or hyphens and happens on form submission. The second happens when typing and only checks the database for existing jobs with that name.

While "Addon analysis" is an invalid identifier, it's also "available" as it hasn't been used before in the database. 
We can fix this by stripping any invalid character from the identifier on input or form submission. Or extend the identifier validation to also check for the validity.

2) This is basically a bug in the way we store files in a cache if a form submission happens and the user needs to resubmit again. When the form is rendered a second time to ask for fixing the form values we should remove the "required" attribute from the hidden (hence the "doorhanger-like balloon at (0,0)") file input.
Assignee: nobody → jezdez
Status: NEW → ASSIGNED
This has been fixed in stage and will likely make it today (Monday) to prod.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
So.... no spaces in identifiers?
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: