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

Pig and CapSched views are not loading in 2.4.3

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.4.3
    • 2.4.4
    • ambari-views

    Description

      After "ember-precompile-brunch" package has been changed from "1.5.1" to "0.1.0", ember fails to resolve view templates results in pig and capsched views fails to render and goes blank. This patch adds custom resolver to fix the issue.

      Pig and Cap sched views are not loading :
      Cap Sched : https://172.22.106.180:8443/#/main/views/CAPACITY-SCHEDULER/1.0.0/AUTO_CS_INSTANCE
      Pig : https://172.22.106.180:8443/#/main/views/PIG/1.0.0/Pig

      Pig View error:

      ember.js:15373 Error while processing route: splash Assertion Failed: Could not find "splash" template or view. Error: Assertion Failed: Could not find "splash" template or view.
          at EmberError (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:30819:23)
          at Object.Ember.assert (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:20433:15)
          at Class.render (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41957:17)
          at Class.renderTemplate (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/app.js:3438:10)
          at apply (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:36242:27)
          at Class.superWrapper [as renderTemplate] (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:35813:15)
          at Class.setup (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:41223:16)
          at applyHook (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63552:30)
          at callHook (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:63546:14)
          at handlerEnteredOrUpdated (https://172.22.106.182:8443/views/PIG/1.0.0/PIG/static/javascripts/vendor.js:62306:7)
      
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              akhilpb Akhil PB
              akhilpb Akhil PB
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: