Repository navigation
Drop HBase from spark-conventions for now - #312
Merged
Merged
Conversation
em3s
force-pushed
the
build/drop-hbase-from-spark-conventions
branch
2 times, most recently
from
May 8, 2026 06:10
b1d1377 to
c6be4ed
Compare
The Spark conventions plugin pulled in hbase-shaded-{client,mapreduce}
as `implementation`, but the shaded jars bundle Hadoop 2.x classes at
the `org.apache.hadoop.*` namespace (incomplete shading), masking the
Hadoop 3.3.4 classes Spark 3.4 expects and breaking JSON / Parquet
readers with NoSuchMethodError on `FileSystem.openFile`.
HBase will be re-introduced to the convention when the first Spark+HBase
job needs it, resolving the Hadoop 3 classpath conflict at that point.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
em3s
force-pushed
the
build/drop-hbase-from-spark-conventions
branch
from
May 8, 2026 06:11
c6be4ed to
1f42c95
Compare
Contributor
Author
|
HBase client is still required — deferring, not dropping. Merging. |
1 task done
em3s
added a commit
that referenced
this pull request
May 15, 2026
PR #312 removed HBase from SparkConventionsPlugin, but PR #309 re-added the same five lines. The re-added hbase-shaded-client and hbase-shaded-mapreduce jars shadow Hadoop's FileSystem on the pipeline test classpath, breaking Spark tests on CI. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 task done
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.
Summary
While working on #311, Spark JSON / Parquet readers failed with
NoSuchMethodError: FileSystem.openFile. Root cause:hbase-shaded-{client,mapreduce}ship Hadoop 2.x atorg.apache.hadoop.*, masking Spark 3.4's Hadoop 3.3.4. No currentspark-conventionsconsumer uses HBase, so drop it from the convention.Re-adding is TBD — likely non-shaded
hbase-clientorcompileOnly+ submit-time--jarsonce a Spark+HBase job needs it.Changes
hbase-shaded-{client,mapreduce}fromSparkConventionsPluginHow to Test
./gradlew buildAI Assistance