hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4596) SystemMetricPublisher should not swallow error messages from TimelineClient#putEntities
Date Fri, 15 Jan 2016 11:24:39 GMT

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

Naganarasimha G R commented on YARN-4596:
-----------------------------------------

Hi [~gtCarrera] IIUC you are referring to {{org.apache.hadoop.yarn.client.api.impl.TimelineWriter.doPosting(Object,
String)}} 
{code}
 if (resp == null ||
        resp.getClientResponseStatus() != ClientResponse.Status.OK){
...
}
{code}
we need to check if resp Obj is available (not null) and if so then we need to try to get
 {{resp.getEntity(TimelinePutResponse.class)}} and may be have a proper *toString* overrides
to log the errors rights? 

> SystemMetricPublisher should not swallow error messages from TimelineClient#putEntities
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-4596
>                 URL: https://issues.apache.org/jira/browse/YARN-4596
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>            Reporter: Li Lu
>            Assignee: Li Lu
>
> We should report error messages from the returned TimelineResponse when posting timeline
entities through system metric publisher. 



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

Mime
View raw message