[HUDI-5627] Improve the usability of Hudi CLI bundle #7762
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Logs
This PR improves the usability of Hudi CLI bundle by changing
hudi-cli-with-bundle.sh:hudi-cli-bundleandhudi-spark-bundlejars downloaded by user, through environmental variablesCLI_BUNDLE_JARandSPARK_BUNDLE_JAR. Currently it assumes that these jars are built inside Hudi repo and there is no way to specify the jars from another path.auxlib/for Hudi CLI. Right now, Hudi CLI bundle still requires additionalorg.glassfish:jakarta.elandjakarta.el:jakarta.el-apijars in the Java classpath to start the Hudi CLI shell. Auto-downloads make it easier for the users.Impact
Makes
hudi-cli-with-bundle.sheasier to start Hudi CLI shell.This is tested locally on Spark 3.3. The Hudi CLI shell can start without any problem.
Risk level
low
Documentation Update
N/A
Contributor's checklist