You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2014/12/09 21:14:12 UTC

[jira] [Commented] (AURORA-330) aurora update should fail gracefully if job is not a service

    [ https://issues.apache.org/jira/browse/AURORA-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239981#comment-14239981 ] 

Maxim Khutornenko commented on AURORA-330:
------------------------------------------

This needs to be revisited when beta-updater graduates as it now supports updating non-service jobs.

> 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
>
> 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)