Kuhu Shukla created TEZ-3632:
--------------------------------

             Summary: 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


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