Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 1ADC3175B2 for ; Mon, 18 May 2015 17:53:01 +0000 (UTC) Received: (qmail 73039 invoked by uid 500); 18 May 2015 17:53:00 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 72993 invoked by uid 500); 18 May 2015 17:53:00 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 72982 invoked by uid 99); 18 May 2015 17:53:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 17:53:00 +0000 Date: Mon, 18 May 2015 17:53:00 +0000 (UTC) From: "jay vyas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11989) Kill command for process group id throws ExitCodeException 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/HADOOP-11989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548399#comment-14548399 ] jay vyas commented on HADOOP-11989: ----------------------------------- Assuming the setSIDIsAvailable works on fedora/deb, it should work on all systems.. right? [~stevel@apache.org] > Kill command for process group id throws ExitCodeException > ---------------------------------------------------------- > > Key: HADOOP-11989 > URL: https://issues.apache.org/jira/browse/HADOOP-11989 > Project: Hadoop Common > Issue Type: Bug > Components: util > Affects Versions: 2.6.0 > Environment: debian 7 > Reporter: Chackaravarthy > Assignee: Chackaravarthy > Attachments: HADOOP-11989.patch > > > In the environment where setsid available, kill command is constructed with single dash, which throws ExitCodeException (improper usage of command) > {noformat} > kill -signal_num - > {noformat} > Encountered this issue due to YARN-3561 > Kill command need to be constructed with double dash (--) which means "end of command options" i.e. it tells ssh command not to try to parse what comes after command line options. It should be constructed as follows : > {noformat} > kill -signal_num -- - > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)