Repository navigation
Support Zstandard-compressed Spark event logs - #272
Conversation
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
|
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
|
Medium — unguarded errors abort the whole batch Can we add test for that as well? |
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
|
@tgravescs Addressed in e032112. Event-log reader failures now use a domain error with retryability: corrupt/truncated compressed data is retryable, while missing decoder support and the record-size limit are not. Metadata discovery catches failures per segment, attributes them to the application inferred from the event-log path, and continues processing healthy applications. |
Summary
.zstdSpark event-log segments from local paths, S3 materialization, and tar bundlesAttributeErrorzstandardonly for.zstdlogs so the source bundle still handles help, plain, and LZ4 paths without site packageszstandardruntime dependency for installed package usageFixes #271
Testing
python -m py_compile yarn-resource-cost/*.pypython -m unittest discover -s yarn-resource-cost -p 'test*.py'on Python 3.10, 3.11, and 3.12 (60 tests each)zstandard==0.23.0python yarn-resource-cost/package_yarn_job_cost.py --output-dir /tmp/yarn-resource-cost-dist--helpchecks with site packages disabledgit diff --check