incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harvey Feng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-188) declineOffer() should be added to Python-C++ bindings and used in test_framework.py
Date Wed, 02 May 2012 00:22:49 GMT

     [ https://issues.apache.org/jira/browse/MESOS-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harvey Feng  updated MESOS-188:
-------------------------------

    Description: 
Came across this while trying to call driver.declineOffer()

Traceback (most recent call last):
  File "./nmpiexec.py", line 76, in resourceOffers
    driver.declineOffer(offer.id)
AttributeError: '_mesos.MesosSchedulerDriverImpl' object has no attribute 'declineOffer'

It should involve a quick fix in src/python/native/mesos_scheduler_diver_imp.cpp

declineOffer() should also be used in src/examples/python/test_framework.py, which currently
holds offers that it should decline if tasksLaunched >= TOTAL_TASKS


  was:
Came across this while trying to call driver.declineOffer()

Traceback (most recent call last):
  File "./nmpiexec.py", line 76, in resourceOffers
    driver.declineOffer(offer.id)
AttributeError: '_mesos.MesosSchedulerDriverImpl' object has no attribute 'declineOffer'

It should involve a quick fix in src/python/native/mesos_scheduler_diver_imp.cpp

declineOffer() should also be used in src/examples/python/test_framework.py, which currently
holds offers that it should decline after tasksLaunched >= TOTAL_TASKS


    
> declineOffer() should be added to Python-C++ bindings and used in test_framework.py
> -----------------------------------------------------------------------------------
>
>                 Key: MESOS-188
>                 URL: https://issues.apache.org/jira/browse/MESOS-188
>             Project: Mesos
>          Issue Type: Bug
>          Components: python-api
>            Reporter: Harvey Feng 
>            Assignee: Harvey Feng 
>
> Came across this while trying to call driver.declineOffer()
> Traceback (most recent call last):
>   File "./nmpiexec.py", line 76, in resourceOffers
>     driver.declineOffer(offer.id)
> AttributeError: '_mesos.MesosSchedulerDriverImpl' object has no attribute 'declineOffer'
> It should involve a quick fix in src/python/native/mesos_scheduler_diver_imp.cpp
> declineOffer() should also be used in src/examples/python/test_framework.py, which currently
holds offers that it should decline if tasksLaunched >= TOTAL_TASKS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message