You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2014/09/19 12:13:33 UTC

[jira] [Created] (AMBARI-7400) Slider View: Most view parameters should be made required

Oleg Nechiporenko created AMBARI-7400:
-----------------------------------------

             Summary: Slider View: Most view parameters should be made required
                 Key: AMBARI-7400
                 URL: https://issues.apache.org/jira/browse/AMBARI-7400
             Project: Ambari
          Issue Type: Bug
          Components: contrib
    Affects Versions: 1.7.0
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
            Priority: Critical
             Fix For: 1.7.0


First, we should rename view parameters to below. Also we should mark them required as mentioned below.
* {{hdfs.url}}. Required = true
* {{yarn.rm.url}}. Required = true
* {{yarn.rm.scheduler.url}}. Required = true
* {{zookeeper.quorum}}. Required = true
* {{ganglia.host}}. Required = *false*
* {{ganglia.addtional.clusters}}. Required = *false*
* {{slider.user}}. Required = *false* (see BUG-23250)

The code on client to automatically load from Ambari should be cleaned away. 

On app load, the view should validate the parameters and display error messages in an error section. If there are errors (invalid values, empty strings, etc.), the App should be put in error mode where it does not load further.

There should be an App wide location to easily determine parameters and their values (Maybe a _App.ViewParameter.sliderUser_ etc.). 

In the Create App wizard, _Enable Metrics_ action should only be enabled only when {{ganglia.addtional.clusters}} and {{ganglia.host}} are provided.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)