Decouple zeppelin-server from Hadoop - #5373
Draft
jongyoul wants to merge 2 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What is this PR for?
Decouple
zeppelin-serverfrom Hadoop so the server can run on a modern JDK without loading Hadoop merely for optional storage, YARN monitoring, Kerberos, group mapping, or JCEKS support.This draft:
zeppelin-serverdependency graph and enforces that boundary with Maven Enforcer;FileSystemconfig/recovery/notebook storage and its health check intoNotebookRepo/FileSystemNotebookRepo;ProcessLaunchObserverSPI provided byLauncher/YarnInterpreterLauncher;Security/Hadoopplugin;The intent is not to remove Hadoop from Spark or other interpreters. It is to make Hadoop an optional server integration rather than a server runtime requirement.
What type of PR is it?
Refactoring
Todos
zeppelin-server, including-Pinclude-hadoop.What is the Jira issue?
Not filed yet. This is a draft architecture/prototype PR for discussion before assigning a Zeppelin JIRA.
How should this be tested?
Tests were run with JDK 17.0.19:
./mvnw -pl zeppelin-server,zeppelin-plugins/launcher/yarn -am \ -Dtest=ZeppelinServerPluginClassLoadingTest,YarnProcessLaunchObserverTest \ -Dsurefire.failIfNoSpecifiedTests=false test ./mvnw -Pinclude-hadoop -pl zeppelin-server -am validate ./mvnw -Prat \ -pl zeppelin-server,zeppelin-plugins/notebookrepo/filesystem,zeppelin-plugins/launcher/yarn,zeppelin-plugins/security/hadoop \ -am apache-rat:checkThe three plugin modules also pass clean packaging and focused tests. Production-style isolated-loader smoke tests loaded
FileSystemConfigStorageandFileSystemNotebookRepofrom the packaged plugin directories. The packagedzeppelin-server/target/libcontains no Hadoop jars, including after an-Pinclude-hadoopbuild.A full server-suite pass is not claimed in this draft: the broad local run encountered existing source-tree Spark test-runtime asset requirements and a recovery-test port conflict. The affected focused suites pass.
Screenshots (if appropriate)
N/A
Questions: