Andrii Babiichuk created AMBARI-7595:
----------------------------------------

             Summary: Adding some properties to hdfs-site causes UI to hang
                 Key: AMBARI-7595
                 URL: https://issues.apache.org/jira/browse/AMBARI-7595
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 1.7.0
            Reporter: Andrii Babiichuk
            Assignee: Andrii Babiichuk
             Fix For: 1.7.0


STR:
# Install HDP-2.2 cluster
# add {{dfs.http.policy}} property with value {{HTTPS_ONLY}} to custom 
hdfs-site 
# Save config
# Configs tab of HDFS hangs. At JS log, 

{code}
Uncaught TypeError: Cannot read property 'description' of undefined 
app.js:113132
{code}
{code}
    calculateConfigProperties: function (config, isAdvanced, advancedConfigs) {
      if (!isAdvanced || this.get('customFileNames').contains(config.filename)) 
{
        var categoryMetaData = this.identifyCategory(config);
        if (categoryMetaData != null) {
          config.category = categoryMetaData.get('name');
          if (!isAdvanced) config.isUserProperty = true;
        }
      } else {
        var advancedProperty = null;
        var configType = this.getConfigTagFromFileName(config.filename);
        if (isAdvanced) {
          advancedProperty = advancedConfigs.filterProperty('filename', 
config.filename).findProperty('name', config.name);
        }
        config.category = config.category ? config.category : 'Advanced ' + 
configType;
        if (isAdvanced) {
          config.description = advancedProperty.description;
        }
      }
    },
{code}

Adding properties with other names does not seem to cause this issue




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

Reply via email to