[ 
https://issues.apache.org/jira/browse/TEZ-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325774#comment-15325774
 ] 

Sreenath Somarajapuram commented on TEZ-3288:
---------------------------------------------

bq. Why are we using 0 as a value which indicates an error ( generally speaking 
0 is always meant to indicate success )? Is it something which the tez 
framework uses or due the ember library?
Status 0 is how the browsers react when an URL is not reachable (Including 
CORS). When it cannot communicate with the server is just sets the status code 
as 0.

bq. Why not do the wiki and linking in a completely different jira just related 
to the wiki 
Have created TEZ-3300 for all the wiki work.

bq. To clarify on the current patch, are we ensuring that we display the 
following: the end url being requested ( not a proxy url if a proxy is being 
used ), proxy url if proxy url is being used in case there are issues with the 
proxy, http error code if present, message/error response body from the http 
response ?
- We would be displaying the proxy url. Mainly because the current proxy is not 
passive. While bypassing the errors, there are many errors that would be 
generated by the proxy.
- Also considering HA enabled systems, we might not be always able to give the 
exact URL that is hit by the Ambari proxy.

> Tez UI: Display more details in the error bar
> ---------------------------------------------
>
>                 Key: TEZ-3288
>                 URL: https://issues.apache.org/jira/browse/TEZ-3288
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sreenath Somarajapuram
>            Assignee: Sreenath Somarajapuram
>         Attachments: AM-Record-NotFound1.png, AM-Record-NotFound2.png, 
> ATS-CORS-Disabled.png, ATS-Record-NotFound.png, ATS-not-reachable.png, 
> TEZ-3288.1.patch, TEZ-3288.2.patch
>
>
> - When a request fails, the error bar must display the complete URL that was 
> hit
> - Response text if any must be displayed.
> - Adapter details must be displayed.



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

Reply via email to