Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-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 432B017B11 for ; Tue, 20 Jan 2015 20:10:58 +0000 (UTC) Received: (qmail 45976 invoked by uid 500); 20 Jan 2015 20:10:58 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 45938 invoked by uid 500); 20 Jan 2015 20:10:58 -0000 Mailing-List: contact issues-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list issues@aurora.incubator.apache.org Received: (qmail 45929 invoked by uid 99); 20 Jan 2015 20:10:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 20:10:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 20 Jan 2015 20:10:57 +0000 Received: (qmail 44713 invoked by uid 99); 20 Jan 2015 20:10:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 20:10:36 +0000 Date: Tue, 20 Jan 2015 20:10:36 +0000 (UTC) From: "Chris Lambert (JIRA)" To: issues@aurora.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AURORA-330) aurora update should fail gracefully if job is not a service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AURORA-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Lambert updated AURORA-330: --------------------------------- Story Points: 2 > aurora update should fail gracefully if job is not a service > ------------------------------------------------------------ > > Key: AURORA-330 > URL: https://issues.apache.org/jira/browse/AURORA-330 > Project: Aurora > Issue Type: Bug > Components: Client > Affects Versions: 0.5.0 > Reporter: Bhuvan Arumugam > Assignee: Bill Farner > Priority: Critical > Labels: twitter > > 14:31 < bhuvan> a quick note on aurora. when we update a job and if the job is finished before update command, the update command fail. is it a known issue? > 14:32 < wickman> i think updates require that the job is a Service(), which means there is no such thing as "finished" > 14:32 < wickman> since on completion they will just be restarted > 14:34 -!- dlester [~dlester@apache/committer/dlester] has joined #aurora > 14:34 < bhuvan> does it mean we can't update a job that is running with service=False? > 14:35 < wickman> i believe so (somebody else correct me if i'm wrong) > 14:35 < wickman> i think the reason it's that way is because kill/create has the same semantics for something with service=False > 14:40 < mkhutornenko> bhuvan: thanks for brining this up. I think the updater should do a pre-check and bail out gracefully if the job is not a service > 14:40 < bhuvan> mkhutornenko: ok. i'll file a bug. > 14:40 < mkhutornenko> bhuvan: thanks, I was just typing to suggest it :) -- This message was sent by Atlassian JIRA (v6.3.4#6332)