Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misplaced chunk in geomedian with dask #100

Closed
emmaai opened this issue Oct 13, 2023 · 4 comments
Closed

misplaced chunk in geomedian with dask #100

emmaai opened this issue Oct 13, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@emmaai
Copy link
Contributor

emmaai commented Oct 13, 2023

"Misplaced" chunks in geomedian as shown in the picture below. My current theory is that the graph unpack is triggered by persist before the graph built is completed, then something goes wrong in the middle. It's either a bug in dask, or we shouldn't do this at all. It seems to happen randomly. I don't have a reliable way to reproduce it.
misplaced_chunk

@emmaai emmaai self-assigned this Oct 13, 2023
@emmaai emmaai added the bug Something isn't working label Oct 13, 2023
@robbibt
Copy link

robbibt commented Oct 13, 2023

Hmm, a user recently emailed us about a kind of similar looking issue:

image

They're not doing geomedians, but are doing large-scale medians/means/stdev using Dask. The previous assumption was that this was caused by the S3 random data access problem we've talked about previously on Teams, but I wonder if it might actually be related to this issue too....

(or maybe it's completely different, hard to tell from those screenshots)

@emmaai
Copy link
Contributor Author

emmaai commented Nov 27, 2023

can confirm none of above fixed the issue, it happened again in 2015 geomedian test processing. http://dea-public-data-dev.s3-website-ap-southeast-2.amazonaws.com/?prefix=test/gm-ls8-dilation-6-cloud-opening-5-v2/3-0-0/x40/y13/2015--P1Y/

@emmaai
Copy link
Contributor Author

emmaai commented Dec 15, 2023

fixed by opendatacube/odc-algo#4

@emmaai emmaai closed this as completed Dec 15, 2023
@SpacemanPaul
Copy link
Contributor

Thanks for your work on this @emmaai ! I know this was a tough one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants