Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A366188AC for ; Sat, 16 Jan 2016 02:19:45 +0000 (UTC) Received: (qmail 52730 invoked by uid 500); 16 Jan 2016 02:19:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 52687 invoked by uid 500); 16 Jan 2016 02:19:40 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 52670 invoked by uid 99); 16 Jan 2016 02:19:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2016 02:19:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E26EA2C1F58 for ; Sat, 16 Jan 2016 02:19:39 +0000 (UTC) Date: Sat, 16 Jan 2016 02:19:39 +0000 (UTC) From: "Li Lu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4596) SystemMetricPublisher should not swallow error messages from TimelineClient#putEntities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102924#comment-15102924 ] Li Lu commented on YARN-4596: ----------------------------- [~Naganarasimha] Yes we can handle this in a separate JIRA (please feel free to work on this). TDM throws BadRequestException which represents a bad REST request. This is a connection level _exception_ rather than a semantic level _error_ (in using the timeline API). Therefore I prefer to leave it as the current behavior. > 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 > Attachments: YARN-4596-trunk.001.patch, YARN-4596-trunk.002.patch > > > 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)