yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28304
[Bug 1419885] [NEW] [data processing] Unable to create a job
Public bug reported:
Currently, creating a job via the Sahara UI fails. It looks like the
job_type parameter is picking up a reference rather than an actual
string.
JOB_TYPE_MAP = {"pig": _("Pig"),
"hive": _("Hive"),
"spark": _("Spark"),
"mapreduce": _("MapReduce"),
"mapreduce.streaming": _("MapReduce.Streaming"),
"java": _("Java")}
Should be
JOB_TYPE_MAP = {"pig": "Pig",
"hive": "Hive",
"spark": "Spark",
"mapreduce": "MapReduce",
"mapreduce.streaming": "MapReduce.Streaming",
"java": "Java"}
Since these values are translated only for the consumption of the API.
Translating them is not useful or needed in this case.
** Affects: horizon
Importance: Undecided
Status: Invalid
** Tags: sahara
** Changed in: horizon
Status: New => Invalid
--
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/1419885
Title:
[data processing] Unable to create a job
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
Currently, creating a job via the Sahara UI fails. It looks like the
job_type parameter is picking up a reference rather than an actual
string.
JOB_TYPE_MAP = {"pig": _("Pig"),
"hive": _("Hive"),
"spark": _("Spark"),
"mapreduce": _("MapReduce"),
"mapreduce.streaming": _("MapReduce.Streaming"),
"java": _("Java")}
Should be
JOB_TYPE_MAP = {"pig": "Pig",
"hive": "Hive",
"spark": "Spark",
"mapreduce": "MapReduce",
"mapreduce.streaming": "MapReduce.Streaming",
"java": "Java"}
Since these values are translated only for the consumption of the API.
Translating them is not useful or needed in this case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1419885/+subscriptions
Follow ups
References