You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2015/11/18 14:47:11 UTC

[jira] [Updated] (TEZ-2877) Tez UI: Remove duplicate error handling code

     [ https://issues.apache.org/jira/browse/TEZ-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sreenath Somarajapuram updated TEZ-2877:
----------------------------------------
    Description: 
1. Code to display error log and error bar is duplicated everywhere. Create a helper function that accepts an error object and does the same. Also replace all the duplicate code with this function.

2. When ATS is down, I see the following message: 
"error code: Unknown, message: Error while loading tez-app.index.
Could not retrieve expected data from Timeline Server @ http://localhost:8188/ws/v1/timeline/TEZ_APPLICATION/tez_application_1447798385040_0001"
It seems wrong to print unknown error code.

3. "Info! Could not fetch application info from RM (yarn system metrics publishing might be disabled), some details might be missing" 
This message should be changed to "Info! Could not fetch application info from YARN RM/Timeline (yarn system metrics publishing might be disabled), some details might be missing"

  was:Code to display error log and error bar is duplicated everywhere. Create a helper function that accepts an error object and does the same. Also replace all the duplicate code with this function.


> Tez UI: Remove duplicate error handling code
> --------------------------------------------
>
>                 Key: TEZ-2877
>                 URL: https://issues.apache.org/jira/browse/TEZ-2877
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sreenath Somarajapuram
>            Priority: Minor
>
> 1. Code to display error log and error bar is duplicated everywhere. Create a helper function that accepts an error object and does the same. Also replace all the duplicate code with this function.
> 2. When ATS is down, I see the following message: 
> "error code: Unknown, message: Error while loading tez-app.index.
> Could not retrieve expected data from Timeline Server @ http://localhost:8188/ws/v1/timeline/TEZ_APPLICATION/tez_application_1447798385040_0001"
> It seems wrong to print unknown error code.
> 3. "Info! Could not fetch application info from RM (yarn system metrics publishing might be disabled), some details might be missing" 
> This message should be changed to "Info! Could not fetch application info from YARN RM/Timeline (yarn system metrics publishing might be disabled), some details might be missing"



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