Code Monkey home page Code Monkey logo

Comments (5)

windreamer avatar windreamer commented on July 20, 2024

Hmm,did your script actrually launch tasks with the offered resources?
If no tasks found in your framework UI,you may check Offers tab. All the offered resources should be displayed there.

PyMesos just a bridge for mesos and framework,and should not modify the allocation behaviour of mesos.

from pymesos.

DrRibosome avatar DrRibosome commented on July 20, 2024

got it - i can see jobs launching, and completing, but it seems like the resources requested are never released for some reason

from pymesos.

DrRibosome avatar DrRibosome commented on July 20, 2024

Looking closer, in the mesos web ui the tasks show up as finished, but future offers sometimes contain the executor ids for some past (completed) tasks. For every task im generating a new executor (with a new uuid id) and it seems like these executors gradually build up. Because I give the executors some resources as well (as the example does), mesos continues to count their resource usage as well, eventually causing the machine to run out of capacity while running nothing.

Is there something I should specifically do to terminate the executor and have mesos collect it?

from pymesos.

DrRibosome avatar DrRibosome commented on July 20, 2024

it looks like i needed to make sure to call driver.abort() to actually stop the driver - doing this fixes the problem

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

Thanks for your share. Typically we just re-use the existing executor when possible, and the executor is running till framework ends. If you actually need short-lived executors, you may write a custom executor and let it exit when the task is finished. and you may receive a executorLost message to notify you the premature exit of the executor.

from pymesos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.