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

David Greenberg commented on MESOS-426:
---------------------------------------

I have updated mesos_submit to use the new API. I will post the review soon, 
but I have an important question still:

I'd like to add the ability to mark a job as idempotent, so that if it fails 
before finishing (either the scheduler or executor), it can fail-over and rerun 
the job on another host until it succeeds. How can I do this? Do I need to use 
Zookeeper to persist the not-yet-finished jobs? I think that this is in-scope 
for mesos-submit.
                
> Python-based frameworks use old API and are broken
> --------------------------------------------------
>
>                 Key: MESOS-426
>                 URL: https://issues.apache.org/jira/browse/MESOS-426
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework, python-api
>    Affects Versions: 0.9.0
>            Reporter: David Greenberg
>
> If you try to use mesos-submit or torque with mesos 0.9.0+, you get 
> exceptions due to API mismatches in these framework's expectations of the 
> python API.
> Steps to reproduce: try running "mesos-submit <mymaster> echo hi", note the 
> stacktraces.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to