[
https://issues.apache.org/jira/browse/TEZ-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sreenath Somarajapuram resolved TEZ-2877.
-----------------------------------------
Resolution: Fixed
Resolved as part of TEZ-3069
> 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
> Assignee: 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)