From yarn-issues-return-136915-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Feb 1 09:08:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id F1F51180652 for ; Thu, 1 Feb 2018 09:08:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E1FC1160C44; Thu, 1 Feb 2018 08:08:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 33DD5160C26 for ; Thu, 1 Feb 2018 09:08:03 +0100 (CET) Received: (qmail 25507 invoked by uid 500); 1 Feb 2018 08:08:02 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 25494 invoked by uid 99); 1 Feb 2018 08:08:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2018 08:08:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E00DAC0558 for ; Thu, 1 Feb 2018 08:08:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id I4zwxbWGP8y5 for ; Thu, 1 Feb 2018 08:08:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C5A7E5F4A8 for ; Thu, 1 Feb 2018 08:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5A580E00A6 for ; Thu, 1 Feb 2018 08:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C42221E81 for ; Thu, 1 Feb 2018 08:08:00 +0000 (UTC) Date: Thu, 1 Feb 2018 08:08:00 +0000 (UTC) From: "Jinjiang Ling (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7820) Fix the currentAppAttemptId error in AHS when an application is running MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-7820?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16348= 161#comment-16348161 ]=20 Jinjiang Ling commented on YARN-7820: ------------------------------------- Hi=C2=A0[~ajisakaa], could you take a review ?=C2=A0 > Fix the currentAppAttemptId error in AHS when an application is running > ----------------------------------------------------------------------- > > Key: YARN-7820 > URL: https://issues.apache.org/jira/browse/YARN-7820 > Project: Hadoop YARN > Issue Type: Bug > Components: timelineserver > Reporter: Jinjiang Ling > Assignee: Jinjiang Ling > Priority: Major > Attachments: YARN-7820.001.patch, YARN-7820.003.patch, YARN-7820.= 003.patch, image-2018-01-26-14-35-09-796.png > > > When I using the REST API of the AHS to get a running app's latest attemp= t id, it always returns a invalid id like *appattempt_1516873125047_0013_{c= olor:#FF0000}-000001{color}*.=C2=A0 > But when the app is finished, the RM will push a finished event which con= tains the=C2=A0latest attempt=C2=A0id to TimelineServer, so=C2=A0the id wil= l transitive to a correct one in the end of the application.=C2=A0 > I think as the app is running, this value should be a correct one, so I a= dd the=C2=A0latest attempt=C2=A0id in the other info of=C2=A0the app's enti= ty when the app trans to RUNNING state. Then the AHS will use this value to= set the=C2=A0currentAppAttemptId. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org