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

Hosts page becomes increasingly unresponsive and laggy (keeps freezing for a long time, especially on a big cluster)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • ambari-web
    • None

    Description

      This can be easily seen on the 400-node cluster.
      Go to Hosts page.
      Set the number of hosts to display to 100.
      Go back and forth using Next and Back arrows to page thru.
      hostsMapper become increasingly slower to the point where UI becomes unusable.
      Next and Back arrows make the hostsMapper time go up quickly, but simply staying on this page after a few back and forth makes the mapper time go up not even doing anything on the page.

      app.js:59619 App.serviceMapper execution time: 0.554ms
      app.js:59024 App.hostsMapper execution time: 246.747ms
      app.js:59908 App.serviceMetricsMapper execution time: 426.094ms
      app.js:58571 stackConfigMapper execution time: 1380.691ms
      app.js:57970 App.componentConfigMapper execution time: 763.289ms
      app.js:58199 App.componentsStateMapper execution time: 26.789ms
      app.js:59024 App.hostsMapper execution time: 482.072ms
      app.js:59024 App.hostsMapper execution time: 1143.700ms
      app.js:59024 App.hostsMapper execution time: 1117.032ms
      app.js:58199 App.componentsStateMapper execution time: 12.173ms
      app.js:59619 App.serviceMapper execution time: 16.305ms
      app.js:57970 App.componentConfigMapper execution time: 485.623ms
      app.js:59024 App.hostsMapper execution time: 1749.992ms
      app.js:58199 App.componentsStateMapper execution time: 12.041ms
      app.js:58199 App.componentsStateMapper execution time: 10.633ms
      app.js:59619 App.serviceMapper execution time: 11.880ms
      app.js:57970 App.componentConfigMapper execution time: 308.430ms
      app.js:59024 App.hostsMapper execution time: 2250.236ms
      app.js:58199 App.componentsStateMapper execution time: 19.387ms
      app.js:59619 App.serviceMapper execution time: 13.730ms
      app.js:58199 App.componentsStateMapper execution time: 12.745ms
      app.js:57970 App.componentConfigMapper execution time: 360.433ms
      app.js:59024 App.hostsMapper execution time: 1873.836ms
      app.js:58199 App.componentsStateMapper execution time: 12.495ms
      app.js:59619 App.serviceMapper execution time: 12.461ms
      app.js:57970 App.componentConfigMapper execution time: 356.806ms
      app.js:58199 App.componentsStateMapper execution time: 11.530ms
      app.js:59024 App.hostsMapper execution time: 2633.293ms
      app.js:59619 App.serviceMapper execution time: 15.021ms
      app.js:58199 App.componentsStateMapper execution time: 12.354ms
      app.js:57970 App.componentConfigMapper execution time: 380.520ms
      app.js:58199 App.componentsStateMapper execution time: 13.028ms
      app.js:59024 App.hostsMapper execution time: 2122.117ms
      app.js:59619 App.serviceMapper execution time: 13.204ms
      app.js:58199 App.componentsStateMapper execution time: 11.409ms
      app.js:57970 App.componentConfigMapper execution time: 367.927ms
      app.js:58199 App.componentsStateMapper execution time: 11.252ms
      app.js:59024 App.hostsMapper execution time: 2210.014ms
      app.js:58199 App.componentsStateMapper execution time: 11.534ms
      app.js:59619 App.serviceMapper execution time: 12.796ms
      app.js:57970 App.componentConfigMapper execution time: 380.329ms
      app.js:58199 App.componentsStateMapper execution time: 11.723ms
      app.js:59024 App.hostsMapper execution time: 2301.805ms
      app.js:58199 App.componentsStateMapper execution time: 11.782ms
      app.js:59619 App.serviceMapper execution time: 12.738ms
      app.js:57970 App.componentConfigMapper execution time: 389.006ms
      app.js:58199 App.componentsStateMapper execution time: 11.153ms
      app.js:58199 App.componentsStateMapper execution time: 11.273ms
      app.js:59024 App.hostsMapper execution time: 2495.490ms
      app.js:59619 App.serviceMapper execution time: 12.830ms
      app.js:57970 App.componentConfigMapper execution time: 400.489ms
      app.js:58199 App.componentsStateMapper execution time: 11.224ms
      app.js:58199 App.componentsStateMapper execution time: 11.271ms
      app.js:59024 App.hostsMapper execution time: 2359.390ms
      app.js:59619 App.serviceMapper execution time: 19.082ms
      app.js:58199 App.componentsStateMapper execution time: 19.433ms
      app.js:57970 App.componentConfigMapper execution time: 406.556ms
      app.js:58199 App.componentsStateMapper execution time: 11.570ms
      app.js:59024 App.hostsMapper execution time: 2500.995ms
      app.js:58199 App.componentsStateMapper execution time: 11.855ms
      app.js:59619 App.serviceMapper execution time: 13.046ms
      app.js:57970 App.componentConfigMapper execution time: 413.948ms
      app.js:58199 App.componentsStateMapper execution time: 11.656ms
      app.js:58199 App.componentsStateMapper execution time: 12.111ms
      app.js:59024 App.hostsMapper execution time: 2710.463ms
      app.js:59619 App.serviceMapper execution time: 12.325ms
      app.js:57970 App.componentConfigMapper execution time: 410.595ms
      app.js:58199 App.componentsStateMapper execution time: 15.498ms
      app.js:58199 App.componentsStateMapper execution time: 11.388ms
      app.js:59024 App.hostsMapper execution time: 2720.415ms
      app.js:59619 App.serviceMapper execution time: 14.646ms
      app.js:57970 App.componentConfigMapper execution time: 408.883ms
      app.js:58199 App.componentsStateMapper execution time: 11.792ms
      app.js:58199 App.componentsStateMapper execution time: 11.605ms
      app.js:59024 App.hostsMapper execution time: 2832.187ms
      app.js:59619 App.serviceMapper execution time: 31.810ms
      app.js:57970 App.componentConfigMapper execution time: 393.024ms
      app.js:58199 App.componentsStateMapper execution time: 18.970ms
      app.js:58199 App.componentsStateMapper execution time: 11.515ms
      app.js:59024 App.hostsMapper execution time: 4259.933ms
      app.js:59619 App.serviceMapper execution time: 13.248ms
      app.js:57970 App.componentConfigMapper execution time: 395.647ms
      app.js:58199 App.componentsStateMapper execution time: 11.930ms
      app.js:58199 App.componentsStateMapper execution time: 11.660ms
      app.js:59024 App.hostsMapper execution time: 2888.671ms
      app.js:59619 App.serviceMapper execution time: 12.753ms
      app.js:57970 App.componentConfigMapper execution time: 393.453ms
      app.js:58199 App.componentsStateMapper execution time: 11.461ms
      app.js:58199 App.componentsStateMapper execution time: 11.469ms
      app.js:59024 App.hostsMapper execution time: 2897.127ms
      app.js:59619 App.serviceMapper execution time: 12.388ms
      app.js:57970 App.componentConfigMapper execution time: 384.372ms
      app.js:58199 App.componentsStateMapper execution time: 11.483ms
      app.js:58199 App.componentsStateMapper execution time: 12.125ms
      app.js:59024 App.hostsMapper execution time: 3022.123ms
      app.js:58199 App.componentsStateMapper execution time: 11.609ms
      app.js:59619 App.serviceMapper execution time: 33.246ms
      app.js:57970 App.componentConfigMapper execution time: 397.844ms
      app.js:58199 App.componentsStateMapper execution time: 19.030ms
      app.js:59024 App.hostsMapper execution time: 4263.693ms
      app.js:59619 App.serviceMapper execution time: 13.305ms
      app.js:57970 App.componentConfigMapper execution time: 441.658ms
      app.js:58199 App.componentsStateMapper execution time: 19.626ms
      app.js:58199 App.componentsStateMapper execution time: 19.055ms
      app.js:59024 App.hostsMapper execution time: 4841.448ms
      app.js:59619 App.serviceMapper execution time: 12.996ms
      app.js:57970 App.componentConfigMapper execution time: 439.037ms
      app.js:58199 App.componentsStateMapper execution time: 19.153ms
      app.js:58199 App.componentsStateMapper execution time: 18.350ms
      app.js:59619 App.serviceMapper execution time: 13.210ms
      app.js:58199 App.componentsStateMapper execution time: 18.354ms
      app.js:59024 App.hostsMapper execution time: 3690.118ms
      app.js:57970 App.componentConfigMapper execution time: 443.038ms
      app.js:58199 App.componentsStateMapper execution time: 19.716ms
      app.js:59619 App.serviceMapper execution time: 13.771ms
      app.js:58199 App.componentsStateMapper execution time: 18.369ms
      app.js:59024 App.hostsMapper execution time: 4962.743ms
      app.js:57970 App.componentConfigMapper execution time: 428.326ms
      app.js:58199 App.componentsStateMapper execution time: 18.233ms
      app.js:59619 App.serviceMapper execution time: 13.439ms
      app.js:58199 App.componentsStateMapper execution time: 19.573ms
      app.js:59024 App.hostsMapper execution time: 5023.670ms
      app.js:57970 App.componentConfigMapper execution time: 447.475ms
      app.js:59619 App.serviceMapper execution time: 14.050ms
      app.js:58199 App.componentsStateMapper execution time: 25.370ms
      app.js:58199 App.componentsStateMapper execution time: 19.281ms
      app.js:57970 App.componentConfigMapper execution time: 387.224ms
      app.js:59024 App.hostsMapper execution time: 5146.912ms
      app.js:59619 App.serviceMapper execution time: 12.898ms
      app.js:58199 App.componentsStateMapper execution time: 18.909ms
      app.js:57970 App.componentConfigMapper execution time: 426.459ms
      app.js:58199 App.componentsStateMapper execution time: 18.557ms
      app.js:59024 App.hostsMapper execution time: 4071.515ms
      app.js:59619 App.serviceMapper execution time: 21.460ms
      app.js:58199 App.componentsStateMapper execution time: 19.114ms
      app.js:57970 App.componentConfigMapper execution time: 1586.893ms
      app.js:58199 App.componentsStateMapper execution time: 18.901ms
      app.js:59619 App.serviceMapper execution time: 13.810ms
      app.js:59024 App.hostsMapper execution time: 5579.686ms
      app.js:57970 App.componentConfigMapper execution time: 436.375ms
      app.js:58199 App.componentsStateMapper execution time: 18.427ms
      app.js:59619 App.serviceMapper execution time: 12.662ms
      app.js:58199 App.componentsStateMapper execution time: 18.132ms
      app.js:59024 App.hostsMapper execution time: 4299.889ms
      app.js:57970 App.componentConfigMapper execution time: 601.724ms
      app.js:58199 App.componentsStateMapper execution time: 19.305ms
      app.js:59619 App.serviceMapper execution time: 12.764ms
      app.js:58199 App.componentsStateMapper execution time: 18.383ms
      app.js:59024 App.hostsMapper execution time: 4303.221ms
      app.js:59619 App.serviceMapper execution time: 13.716ms
      app.js:57970 App.componentConfigMapper execution time: 447.331ms
      app.js:58199 App.componentsStateMapper execution time: 18.811ms
      app.js:58199 App.componentsStateMapper execution time: 18.584ms
      app.js:59024 App.hostsMapper execution time: 4440.846ms
      app.js:59619 App.serviceMapper execution time: 12.913ms
      app.js:58199 App.componentsStateMapper execution time: 19.378ms
      app.js:57970 App.componentConfigMapper execution time: 479.144ms
      ...
      ...
      ...
      App.hostsMapper execution time: 5495.975ms
      app.js:59619 App.serviceMapper execution time: 14.585ms
      app.js:57970 App.componentConfigMapper execution time: 503.015ms
      app.js:58199 App.componentsStateMapper execution time: 19.115ms
      app.js:58199 App.componentsStateMapper execution time: 19.929ms
      app.js:59024 App.hostsMapper execution time: 5501.445ms
      app.js:59619 App.serviceMapper execution time: 14.046ms
      app.js:57970 App.componentConfigMapper execution time: 532.726ms
      app.js:58199 App.componentsStateMapper execution time: 21.521ms
      app.js:58199 App.componentsStateMapper execution time: 33.141ms
      app.js:59024 App.hostsMapper execution time: 5850.158ms
      app.js:59619 App.serviceMapper execution time: 12.633ms
      app.js:57970 App.componentConfigMapper execution time: 567.539ms
      app.js:58199 App.componentsStateMapper execution time: 19.598ms
      app.js:58199 App.componentsStateMapper execution time: 18.270ms
      

      Attachments

        1. AMBARI-12300.patch
          3 kB
          Yusaku Sako

        Activity

          People

            u39kun Yusaku Sako
            u39kun Yusaku Sako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: