Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12818

Properties autotrimming works incorrectly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: ambari-web
    • Labels:
      None

      Description

      1. Go on HDFS Settings tab
      2. append space or line feed to property "NameNode directories"
      3. Save changes

      Result : All properties became unchangeable, new config group wasn't added. Screenshot attached.

      1. Trimming.png
        62 kB
        Antonenko Alexander
      2. AMBARI-12818.patch
        11 kB
        Antonenko Alexander

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-branch-2.1 #392 (See https://builds.apache.org/job/Ambari-branch-2.1/392/)
        AMBARI-12818. Properties autotrimming works incorrectly (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=18c605145503f7ae12da0a27be5d8475a926b911)

        • ambari-web/app/models/configs/objects/service_config_property.js
        • ambari-web/app/mappers/service_config_version_mapper.js
        • ambari-web/app/mixins/common/configs/configs_loader.js
        • ambari-web/app/messages.js
        • ambari-web/test/utils/validator_test.js
        • ambari-web/app/utils/validator.js
        • ambari-web/app/utils/config.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #392 (See https://builds.apache.org/job/Ambari-branch-2.1/392/ ) AMBARI-12818 . Properties autotrimming works incorrectly (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=18c605145503f7ae12da0a27be5d8475a926b911 ) ambari-web/app/models/configs/objects/service_config_property.js ambari-web/app/mappers/service_config_version_mapper.js ambari-web/app/mixins/common/configs/configs_loader.js ambari-web/app/messages.js ambari-web/test/utils/validator_test.js ambari-web/app/utils/validator.js ambari-web/app/utils/config.js
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-trunk-Commit #3293 (See https://builds.apache.org/job/Ambari-trunk-Commit/3293/)
        AMBARI-12818. Properties autotrimming works incorrectly (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b4991a03ca57ca31edb0820f1930fff93ec3e54b)

        • ambari-web/app/utils/config.js
        • ambari-web/test/utils/validator_test.js
        • ambari-web/app/models/configs/objects/service_config_property.js
        • ambari-web/app/mixins/common/configs/configs_loader.js
        • ambari-web/app/utils/validator.js
        • ambari-web/app/messages.js
        • ambari-web/app/mappers/service_config_version_mapper.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3293 (See https://builds.apache.org/job/Ambari-trunk-Commit/3293/ ) AMBARI-12818 . Properties autotrimming works incorrectly (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b4991a03ca57ca31edb0820f1930fff93ec3e54b ) ambari-web/app/utils/config.js ambari-web/test/utils/validator_test.js ambari-web/app/models/configs/objects/service_config_property.js ambari-web/app/mixins/common/configs/configs_loader.js ambari-web/app/utils/validator.js ambari-web/app/messages.js ambari-web/app/mappers/service_config_version_mapper.js
        Hide
        aantonenko Antonenko Alexander added a comment -

        committed to trunk and branch-2.1

        Show
        aantonenko Antonenko Alexander added a comment - committed to trunk and branch-2.1
        Hide
        akovalenko Aleksandr Kovalenko added a comment -

        +1 for the patch

        Show
        akovalenko Aleksandr Kovalenko added a comment - +1 for the patch

          People

          • Assignee:
            aantonenko Antonenko Alexander
            Reporter:
            aantonenko Antonenko Alexander
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development