hudi
hudi copied to clipboard
[MINOR] Fixes to make unit tests work on m1
Change Logs
an older version of snappy that is incompatible with m1 was used in by a few dependencies. To fix we make spark version to be 2.4.8 and we add some exclusions so that the dependencies don't pull in the old version of snappy and use the newer one instead.
Impact
Unit tests should now work on m1
*Risk level: low
Contributor's checklist
- [x] Read through contributor's guide
- [x] Change Logs and Impact were stated clearly
- [x] Adequate tests were added if applicable
- [x] CI passed
have cancelled CI run for now. investigating CI flakiness. will trigger azure CI run once we fix the flakiness.
CI report:
- c7a1d373796e8bfce040bd79a07f68ef6b7ffc59 UNKNOWN
- 287c52c6da5eb75093f3c9f7bfd5bfaf0eeb9ac0 Azure: FAILURE
Bot commands
@hudi-bot supports the following commands:@hudi-bot run azurere-run the last Azure build
After revisiting this PR, I feel that this introduces the risk of building release artifacts with different versions of dependencies on M1 Macbook (note that the release manager needs to build the artifacts locally and push them to the staging area using the release script). We should directly upgrade the versions without keeping two variants based on the OS/Arch. HUDI-5388 for followup.
cc @nsivabalan @alexeykudinkin @xushiyan