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 0A4C21877D for ; Mon, 14 Dec 2015 10:12:47 +0000 (UTC) Received: (qmail 21084 invoked by uid 500); 14 Dec 2015 10:12:46 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 21031 invoked by uid 500); 14 Dec 2015 10:12:46 -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 21002 invoked by uid 99); 14 Dec 2015 10:12:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 10:12:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A39A22C1F6E for ; Mon, 14 Dec 2015 10:12:46 +0000 (UTC) Date: Mon, 14 Dec 2015 10:12:46 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4441) Kill application request from the webservice(ui) is showing success even for the finished applications 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-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15055747#comment-15055747 ] Varun Vasudev commented on YARN-4441: ------------------------------------- That's a performance optimization for the RPC client - it avoids a RPC round trip. There's nothing stopping you from writing a YARN client without that check. The equivalent to the CLI code you posted would be to grey out the button on the web UI if the application is finished(which is a patch I'd be ok with). > Kill application request from the webservice(ui) is showing success even for the finished applications > ------------------------------------------------------------------------------------------------------ > > Key: YARN-4441 > URL: https://issues.apache.org/jira/browse/YARN-4441 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Mohammad Shahid Khan > Assignee: Mohammad Shahid Khan > > If the application is already finished ie either failled, killed, or succeded > the kill operation should not be logged as success. -- This message was sent by Atlassian JIRA (v6.3.4#6332)