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

Improve error message when sparkey hits array-size limits #5300

Open
kellen opened this issue Mar 13, 2024 · 0 comments
Open

Improve error message when sparkey hits array-size limits #5300

kellen opened this issue Mar 13, 2024 · 0 comments

Comments

@kellen
Copy link
Contributor

kellen commented Mar 13, 2024

When using saveAsSparkey, if any shard is > ~2gb then you will get a coder exception and something like

Error message from worker: org.apache.beam.sdk.util.UserCodeException: java.lang.OutOfMemoryError: Required array length 2147483639 + 15534 is too large

which is not easily interpretable.

See if we can preemptively capture serialized sizes so that we can issue a better error message like "Increase number of sparkey shards"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant