← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441688] [NEW] [data processing] Unable to run Spark jobs

 

Public bug reported:

*high prio in my opinion*

It is currently not possible to run a Spark job via the data processing
UI.

On the launch form, there are 2 fields input/output data source which
have their default values set to (None, "None") and they are hidden on
that form since they are not pertinent to Spark.

I think that the new django 1.7 validation scrapes the None value and
treats it as empty, and therefore not present and generates an error for
those fields saying that they are required and the form submission is
rejected.  This is not evident to the user since those fields remain
hidden.

I think a simple fix would be to use another value to indicate that no
data source is the choice (which is valid for some job types).

** Affects: horizon
     Importance: Undecided
     Assignee: Chad Roberts (croberts)
         Status: New


** Tags: sahara

** Changed in: horizon
     Assignee: (unassigned) => Chad Roberts (croberts)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1441688

Title:
  [data processing] Unable to run Spark jobs

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  *high prio in my opinion*

  It is currently not possible to run a Spark job via the data
  processing UI.

  On the launch form, there are 2 fields input/output data source which
  have their default values set to (None, "None") and they are hidden on
  that form since they are not pertinent to Spark.

  I think that the new django 1.7 validation scrapes the None value and
  treats it as empty, and therefore not present and generates an error
  for those fields saying that they are required and the form submission
  is rejected.  This is not evident to the user since those fields
  remain hidden.

  I think a simple fix would be to use another value to indicate that no
  data source is the choice (which is valid for some job types).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1441688/+subscriptions


Follow ups

References