Comments (7)
to clean data for failed jobs we can always do
try:
pw.map(func, ...)
results = pw.get_result()
print("Execution completed")
except Exception as e:
print (e)
finally:
pw.clean()
But this need to be done automatically
from lithops.
@gilv This is fixed in #122, as long as you have data_cleaner = True
in config.
https://github.com/pywren/pywren-ibm-cloud/blob/master/pywren_ibm_cloud/wren.py#L318
from lithops.
@JosepSampe data_cleaner = True will delete all data from successfull and failed jobs.. I wonder if cleaning partial results of failed jobs is the same as cleaning data from successfull jobs. Is there somethign different we can do with data from failed and successfull jobs?
I think to generate graphs requires data cleaner to be false, right? this is why we have default data_cleaner = false. Am i correct?
from lithops.
@gilv I don't know why default data_cleaner = false
... In fact it can be true
since plots can be created anyway. Only in that case you use rabbitmq you need data_cleaner = False
, becasue then you need to keep statuses in COS in order to print plots, since statuses are not downloaded trough rabbitmq. But rabbitmq is not the default usage of PyWren, so I think we can move default data_cleaner = True
.
Also, I think there is nothing different we can do with failed jobs. PyWren raises the exception and then data_cleaner can be automatically executed.
from lithops.
@JosepSampe so should we make the default data_cleaner=True ?
from lithops.
@gilv I think so
from lithops.
@gilv I think this one can be already close with #233 . Now the data_cleaner() is always executed from any failed job
from lithops.
Related Issues (20)
- Bump a new version HOT 2
- [Bug] AWS Lambda calls fail after consecutive call
- AWS Lambda invoker's performance depends on the Python interpreter HOT 10
- [GCP Storage] 429 Too Many Requests in bucket creation during map stage
- [AWS EC2] New charge for public IPv4 addresses starting February 1, 2024 HOT 1
- VM setup without root privileges. HOT 1
- Problem in combination IBM CE and Lithops HOT 7
- AWS S3 PutObject limitation HOT 4
- Problem in combination AWS Lambda and Lithops HOT 10
- Restart failed futures only HOT 2
- FileNotFoundError: func.pickle not found in customized_runtime for AWS Lambda HOT 10
- StandaloneExecutor reuse problem HOT 4
- Lithops from main branch not working anymore. HOT 9
- [Enhancement] Allow runtime_cpu to be passed as an argument for the FunctionExecutor for k8s HOT 2
- Race condition in storage monitor after re-running task HOT 5
- Add a mechanism to automatically retry failed tasks HOT 1
- Can't delete aws_lambda images HOT 1
- Make delay between call status check configurable HOT 2
- Why do AWS credentials have to be hard coded into config files? HOT 4
- Custom runtime failed to deploy on aws lambda HOT 2
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 lithops.