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

Sreenath Somarajapuram commented on TEZ-3632:
---------------------------------------------

[~kshukla]
We don't have an equivalent code in 0.9 UI as we no more depend on status but 
inProgressLogsURL redirection. In other words, for completed jobs we just need 
to hit the same inProgressLogsURL and it would get redirected to the correct 
completed log.

The patch looks good for branch-0.7 and branch-0.8.
+1 will commit shortly.

> Tez Task attempt listing can hang if log link is null
> -----------------------------------------------------
>
>                 Key: TEZ-3632
>                 URL: https://issues.apache.org/jira/browse/TEZ-3632
>             Project: Apache Tez
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 0.7.1
>            Reporter: Kuhu Shukla
>            Assignee: Kuhu Shukla
>         Attachments: TEZ-3632-branch-0.7.001.patch
>
>
> The Tez UI can hang on task attempts listing and throw a "Type Error : link 
> is undefined" when the link which is the variable that holds the logs link is 
> null in cases where the task attempts were killed.
> The following check needs to be corrected to get past this error.
> {code}
>  link = attempt.get('completedLog');
>       if (link && yarnAppState === 'FINISHED' || yarnAppState === 'KILLED' || 
> yarnAppState === 'FAILED') {
>         params["start"] = "0";
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to