[
https://issues.apache.org/jira/browse/TEZ-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kuhu Shukla updated TEZ-3632:
-----------------------------
Attachment: TEZ-3632-branch-0.7.001.patch
Initial version of the patch that corrects the condition. [~Sreenath], Could
you help review this? Thanks a lot!
> 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)