incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Kapoor (JIRA)" <>
Subject [jira] [Created] (AMBARI-194) Avoid TxnProgressWidget Getting Stuck In An Infinite Loop
Date Tue, 08 May 2012 23:29:49 GMT
Varun Kapoor created AMBARI-194:

             Summary: Avoid TxnProgressWidget Getting Stuck In An Infinite Loop
                 Key: AMBARI-194
             Project: Ambari
          Issue Type: Bug
    Affects Versions: ambari-186
            Reporter: Varun Kapoor
            Priority: Critical
             Fix For: ambari-186

php/frontend/fetchTxnProgress.php's response JSON checks that at least one subTxn is in progress,
or it sets the top-level 'progress' key to null. The JS checks for this null-ness before deciding
to swap the loading image for the list of progress states. 

Sadly, when the backend txn is a no-op (for instance, when a service is already started but
a user starts it again from the Manage Services page), none of the subTxns will be in-progress,
causing this condition to be triggered. Thus, no-ops lead to the loading image showing forever,
with no way for users to break the cycle, which is pretty darn bad.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message