Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2065

Add InverseOffer to Python Scheduler API.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • python api

    Description

      The initial use case for InverseOffer in the framework API will be the maintenance primitives in mesos: MESOS-1474.

      One way to add these to the Python Scheduler API is to add a new callback:

        def inverseResourceOffers(self, driver, inverse_offers):
      

      Egg / libmesos compatibility will need to be figured out here.

      We may want to leave the Python binding untouched in favor of Event/Call, in order to not break API compatibility for schedulers.

      Attachments

        Activity

          People

            JamesYongQiaoWang James Wang
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: