You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2014/10/01 18:44:34 UTC

[jira] [Updated] (AMBARI-7595) Adding some properties to hdfs-site causes UI to hang

     [ https://issues.apache.org/jira/browse/AMBARI-7595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrii Babiichuk updated AMBARI-7595:
-------------------------------------
    Description: 
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}

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


  was:
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



> 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}
> Adding properties with other names does not seem to cause this issue



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