Description
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.
link = attempt.get('completedLog'); if (link && yarnAppState === 'FINISHED' || yarnAppState === 'KILLED' || yarnAppState === 'FAILED') { params["start"] = "0";