ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Babiichuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7595) Adding some properties to hdfs-site causes UI to hang
Date Wed, 01 Oct 2014 16:44:33 GMT
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)

Mime
View raw message