Details

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

      Description

      The UI was halting page loads with:

      Case Comment: Uncaught TypeError: Cannot read property 'HostRoles' of undefined(anonymous function) @ app.js:56797
      App.serviceMetricsMapper.App.QuickDataMapper.create.yarnMapper @ app.js:56772
      App.serviceMetricsMapper.App.QuickDataMapper.create.mapExtendedModel @ app.js:56559(anonymous function) @ app.js:56520
      App.serviceMetricsMapper.App.QuickDataMapper.create.map @ app.js:56512newFunc @ vendor.js:2627(anonymous function) @ app.js:161511
      

      The UI should tolerate or somehow warn when ATS is not installed.

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-branch-2.1 #481 (See https://builds.apache.org/job/Ambari-branch-2.1/481/)
        AMBARI-13008 UI does not tolerate ATS being absent. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e18b2374371fe3123acf337ccd2ee65ecfaa52ac)

        • ambari-web/app/mappers/service_metrics_mapper.js
        • ambari-web/test/mappers/service_metrics_mapper_test.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #481 (See https://builds.apache.org/job/Ambari-branch-2.1/481/ ) AMBARI-13008 UI does not tolerate ATS being absent. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e18b2374371fe3123acf337ccd2ee65ecfaa52ac ) ambari-web/app/mappers/service_metrics_mapper.js ambari-web/test/mappers/service_metrics_mapper_test.js
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-trunk-Commit #3390 (See https://builds.apache.org/job/Ambari-trunk-Commit/3390/)
        AMBARI-13008 UI does not tolerate ATS being absent. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cc93d351e67cd0806f1f7b3af21dcbebb06c5c4c)

        • ambari-web/app/mappers/service_metrics_mapper.js
        • ambari-web/test/mappers/service_metrics_mapper_test.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3390 (See https://builds.apache.org/job/Ambari-trunk-Commit/3390/ ) AMBARI-13008 UI does not tolerate ATS being absent. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cc93d351e67cd0806f1f7b3af21dcbebb06c5c4c ) ambari-web/app/mappers/service_metrics_mapper.js ambari-web/test/mappers/service_metrics_mapper_test.js
        Hide
        atkach Andrii Tkach added a comment -

        committed to trunk and branch-2.1

        Show
        atkach Andrii Tkach added a comment - committed to trunk and branch-2.1
        Hide
        hadoopqa Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12754179/AMBARI-13008.patch
        against trunk revision .

        -1 patch. Top-level trunk compilation may be broken.

        Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3722//console

        This message is automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12754179/AMBARI-13008.patch against trunk revision . -1 patch . Top-level trunk compilation may be broken. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3722//console This message is automatically generated.
        Hide
        ababiichuk Andrii Babiichuk added a comment -

        +1 for the patch

        Show
        ababiichuk Andrii Babiichuk added a comment - +1 for the patch
        Hide
        atkach Andrii Tkach added a comment -

        6714 tests complete (11 seconds)
        94 tests pending

        Show
        atkach Andrii Tkach added a comment - 6714 tests complete (11 seconds) 94 tests pending

          People

          • Assignee:
            atkach Andrii Tkach
            Reporter:
            atkach Andrii Tkach
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development