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

[MINOR] Relocate jetty during shading/packaging for Databricks runtime #1781

Merged
merged 1 commit into from Jul 3, 2020

Conversation

clocklear
Copy link
Contributor

What is the purpose of the pull request

This pull-request relocates jetty during the packaging of hudi-spark-bundle.

I'm testing Hudi in Databricks and found there is a transitive dependency conflict around Jetty. (Databricks runtime 6.6)[https://docs.databricks.com/release-notes/runtime/6.6.html] provides Jetty 9.3; Hudi has a dependency on Jetty 9.4 (specifically, SessionHandler.setHttpOnly() doesn't exist in 9.3). (Databricks runtime 7.0)[https://docs.databricks.com/release-notes/runtime/7.0.html) includes Jetty 9.4, but it also includes Spark 3.0.0; Hudi requires 2.x.

Relocating Jetty during packaging solves the problem and allows Hudi to operate with its own version, independent of what Databricks provides. This allows hudi-spark-bundle to work within Databricks out-of-the-box with no further alterations.

Brief change log

  • Modify packaging/hudi-spark-bundle/pom.xml to relocate Jetty during packaging

Verify this pull request

This pull request is a trivial rework / code cleanup without any test coverage. There are no modifications to code functionality.

Committer checklist

  • Has a corresponding JIRA in PR title & commit (used [MINOR] tag due to simple nature of the change)

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@clocklear
Copy link
Contributor Author

cc @vinothchandar , apologies for directly involving you, but not sure how to get this item noticed.

@vinothchandar vinothchandar self-assigned this Jul 2, 2020
@vinothchandar
Copy link
Member

@clocklear No worries.. Queued it up!

@vinothchandar vinothchandar changed the title [MINOR] Relocate jetty during shading/packaging [MINOR] Relocate jetty during shading/packaging for Databricks runtime Jul 3, 2020
Copy link
Member

@vinothchandar vinothchandar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clocklear this should be fine..

cc @bvaradar just in case

@vinothchandar vinothchandar merged commit 574dcf9 into apache:master Jul 3, 2020
@clocklear clocklear deleted the feature/RelocateJetty branch July 3, 2020 23:36
@nagacse
Copy link

nagacse commented Aug 3, 2020

Can we have the same for the hudi-utilities-bundle too, facing the same issue when running deltastreamer

@vinothchandar
Copy link
Member

cc @pratyakshsharma do you want to take this up? please let me know

@vinothchandar
Copy link
Member

@pratyakshsharma
Copy link
Contributor

cc @pratyakshsharma do you want to take this up? please let me know

Ack.

@pratyakshsharma
Copy link
Contributor

#1990 raised for this.

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.

None yet

4 participants