Setting streaming options as not required

streaming_mapper and steraming_reducer as not marked as not required,
this causes UI to crash when trying to launch job that are not Streaming
MapReduce jobs.

Change-Id: I79a9663a0059edd14b8a79399cfd9f72c253199e
This commit is contained in:
Telles Nobrega 2018-01-15 14:30:38 -03:00
parent fddcad0b6f
commit 5ebb10ac3e
1 changed files with 4 additions and 2 deletions

View File

@ -203,9 +203,11 @@ class JobConfigAction(workflows.Action):
java_opts = forms.CharField(label=_("Java Opts"),
required=False)
streaming_mapper = forms.CharField(label=_("Mapper"))
streaming_mapper = forms.CharField(label=_("Mapper"),
required=False)
streaming_reducer = forms.CharField(label=_("Reducer"))
streaming_reducer = forms.CharField(label=_("Reducer"),
required=False)
hbase_common_lib = forms.BooleanField(
label=_("Use HBase Common library"),