You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jaimin D Jetly (JIRA)" <ji...@apache.org> on 2014/11/09 07:44:33 UTC

[jira] [Commented] (AMBARI-8235) 'Retry' on start all services in security wizard does not show progress

    [ https://issues.apache.org/jira/browse/AMBARI-8235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14203802#comment-14203802 ] 

Jaimin D Jetly commented on AMBARI-8235:
----------------------------------------

Tested the patch e2e.
Verified that existing unit tests passes for ambari-web

> 'Retry' on start all services in security wizard does not show progress
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-8235
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8235
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 1.5.1
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-8235.patch, AMBARI-8235_branch-1.7.0.patch, Screen Shot 2014-11-08 at 9.49.45 PM.png
>
>
> *STR:*
> # Go to security wizard ->Deploy step
> # Let Start Services command fail
> # Click on Start Services link. Go to Hosts->Tasks->Task Details (stdout and stderr) page for any task
> # Click on OK on task details page of the host_propgress_popup and get back to Deploy page of security wizard.
> # Click on Retry button. 
> *Reason:*
> There is a  code that updates the current task details page. This considers last seen task as the current task for doing dynamic update for the stdout and stderr information. Details of the last seen task keeps on updating on polling interval (or hitting retry) irrespective of it is still open or not.
> On the mentioned STR this code causes JS error because it tries to update the task details by finding it in the current request which when retried does not exist.
> *Solution:*
> Skip updating the current task details if the current taskId (last seen task) is not found in the current request. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)