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

On certain actions, there's no feedback from the UI when API takes a long time to respond - not reassuring and the user is encouraged to keep triggering the same heavy action to make the problem worse



    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0, 2.4.3
    • ambari-web
    • None


      On a big cluster, it takes the server a long time to process the API request for certain operations, like "Stop All", "Start All", etc.
      On a small cluster, the "background operations" popup appears within a few seconds to acknowledge to the user that the server is working on handling the request.
      However, when the cluster gets bigger and the request API takes the server much longer (e.g., on a 1000-node cluster, it took ~35 seconds), there's no indication on the UI that the server received the request. This is not reassuring to the user and the user is tempted to keep re-triggering the action and overwhelming the server.

      This problem is not just for "Start All", "Stop All". This problem actually happens for "Stop" and "Start" of a single service as well (and likely other places, like Hosts / Host Detail pages.) On the 1000-node cluster, this takes about 6-7 seconds, enough to make the user wonder if the request got to the server or not.


        1. AMBARI-19907_branch-2.5_final.patch
          15 kB
          Richard Zang
        2. AMBARI-19907_fix1.patch
          2 kB
          Richard Zang
        3. AMBARI-19907_trunk_final.patch
          16 kB
          Richard Zang
        4. AMBARI-19907.v0.branch-2.5.patch
          14 kB
          Vivek Ratnavel Subramanian
        5. AMBARI-19907.v1.patch
          14 kB
          Vivek Ratnavel Subramanian

        Issue Links



              vivekratnavel Vivek Ratnavel Subramanian
              vivekratnavel Vivek Ratnavel Subramanian
              0 Vote for this issue
              3 Start watching this issue