Skip to content

[736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + CI on branch-0.4#841

Open
vinishjail97 wants to merge 3 commits into
apache:branch-0.4from
vinishjail97:736-jol-utilities-hudi0x
Open

[736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + CI on branch-0.4#841
vinishjail97 wants to merge 3 commits into
apache:branch-0.4from
vinishjail97:736-jol-utilities-hudi0x

Conversation

@vinishjail97

@vinishjail97 vinishjail97 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Backports #840 to the Hudi 0.x line (branch-0.4) for the 0.4.0 release branch.

Closes #736

vinishjail97 and others added 2 commits July 9, 2026 11:38
Cherry-pick of apache#840 (4daec27) adapted for the Hudi 0.14 line on
main-hudi-0x. The apache#736 root cause applies here too: the apache#822 shade
allowlist dropped runtime deps from the bundled utilities jar, so
java -jar RunSync failed with NoClassDefFoundError.

Applicable subset for Hudi 0.x:
- jol-core: the parent pins it to test scope, but Hudi's
  ObjectSizeCalculator loads org.openjdk.jol at runtime; override to
  runtime and add to the shade allowlist (the actual apache#736 fix).
- slf4j-api: add to the allowlist (org/slf4j/LoggerFactory was missing).

Dropped from the original apache#840 (Hudi 1.x only): hudi-hadoop-common and
hudi-io do not exist in Hudi 0.14 (that split is 1.x); hudi-common still
provides org.apache.hudi.common.fs.FSUtils. There is also no redundant
test-scoped hudi-java-client to remove on this branch.

Verified: the 0.x bundled jar now contains org/slf4j/LoggerFactory,
org/openjdk/jol/info/GraphLayout, org/apache/hudi/common/fs/FSUtils and
org/apache/hudi/client/common/HoodieJavaEngineContext.

Cherry picked from commit 4daec27.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add main-hudi-0x to the push and pull_request branch triggers so the
existing CI (build + test, license check) runs for the long-lived
Hudi 0.x branch and PRs targeting it, matching main. package-deploy
(release-triggered) and the site workflows are unchanged.

The concurrency guard already treats any ref containing "main" as
non-cancelable, so main-hudi-0x is covered without further changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vinishjail97
vinishjail97 marked this pull request as ready for review July 9, 2026 18:51
vinishjail97 added a commit to vinishjail97/onetable that referenced this pull request Jul 10, 2026
Add main-hudi-0x to the push and pull_request branch filters of both
workflows (same change as apache#841) so CI runs on PRs targeting the Hudi 0.x
release line, including this one. A pull_request workflow's branch filter
takes effect from the PR's own branch, so this makes CI fire on apache#843.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The release branch was renamed main-hudi-0x -> branch-0.4 to use a
version-keyed name instead of a dependency-keyed one. Update the push /
pull_request triggers so Maven CI Build and License Check run on the
renamed branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vinishjail97
vinishjail97 force-pushed the 736-jol-utilities-hudi0x branch from 46823b4 to 043c82b Compare July 13, 2026 15:54
@vinishjail97 vinishjail97 changed the title [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + run CI on main-hudi-0x [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + run CI on branch-0.4 Jul 13, 2026
@vinishjail97 vinishjail97 changed the title [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + run CI on branch-0.4 [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + CI on main-hudi-0x Jul 16, 2026
@vinishjail97 vinishjail97 changed the title [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + CI on main-hudi-0x [736] Make the bundled xtable-utilities jar runnable again (Hudi 0.x) + CI on branch-0.4 Jul 16, 2026
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

Successfully merging this pull request may close these issues.

1 participant