Comments (5)
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.
got it - i can see jobs launching, and completing, but it seems like the resources requested are never released for some reason
from pymesos.
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.
it looks like i needed to make sure to call driver.abort()
to actually stop the driver - doing this fixes the problem
from pymesos.
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)
- Using 'offer_id' instead of 'inverse_offer_id' in RescindInverseOffer
- MesosOperatorMasterDriver cannot subscribe to events HOT 7
- Process.start() method does not call Process._notify() HOT 7
- Missing comma in list.
- missing kazoo dependency HOT 5
- Exponential backoff for executors incompatible with default & max executor_reregistration_timeout HOT 1
- Add support for HTTPS HOT 2
- Add support for executor authentication HOT 1
- Add specific timeout for http requests HOT 3
- pymesos doesn't install on python 3.7 HOT 5
- Ability to run 10,000 tasks HOT 1
- Pymesos doesn't install properly on python3.11 due to http_parser
- python version, is python2 and python3 compatible? HOT 2
- Scheduler failover flag is unsettable HOT 13
- Socket errors are not handled properly which is resulting in unexpected behavior HOT 2
- how do i get status of a task from scheduler? HOT 3
- Custom field on update dictionary not working HOT 2
- Error parsing `mins` and `ns` time units since items()
- Framework does not get HeartBeats HOT 1
- Timeout for connection refused errors?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymesos.