feat: support hadoop and hbase addons on KubeBlocks 1.1#3100
Open
baojun-zhang wants to merge 17 commits into
Open
feat: support hadoop and hbase addons on KubeBlocks 1.1#3100baojun-zhang wants to merge 17 commits into
baojun-zhang wants to merge 17 commits into
Conversation
- add addons/hadoop and addons/hbase - add addons-cluster/hadoop and addons-cluster/hbase
leon-ape
reviewed
Jul 7, 2026
leon-ape
left a comment
Contributor
There was a problem hiding this comment.
Findings:
addons-cluster/hbase/templates/cluster.yamlrendersspec.topology: cluster, whileaddons/hbase/templates/clusterdefinition.yamlonly defineshbase-clusterandhbase-standalone.- The default HBase cluster renders
serviceRefs.hdfs-namenode...port: client, but the HDFS namenode ComponentDefinition exposes service portsfsandhttp. - The new Hadoop addon introduces
ParamConfigRendererresources inaddons/hadoop/templates/pcr-*.yaml; PCR is deprecated for the current addon API. - This PR adds new Hadoop/HBase addons and cluster charts, but the PR has no provision and service-connectivity validation evidence.
pr-label-checkis failing because the PR only haschart-releaseand no pick/nopick/pick-* label.
…regionserver hostname at runtime
…onfig to hdfs-common - refactor(hadoop): centralize namenode ha constraints for dual-nn topology - fix(hadoop): move datanode hostname injection to runtime
… via cluster chart
Author
Author
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.



Description
This PR adds first-class Hadoop HDFS and HBase support to the KubeBlocks 1.1 addon ecosystem by introducing both addon-level definitions and cluster-level deployment charts.
The change is organized around two capability tracks rather than one-off file additions:
At a high level, this PR contributes:
addons/hadoopandaddons/hbasepackages withClusterDefinition,ComponentDefinition,ComponentVersion, config templates, startup scripts, config constraints, and release notesaddons-cluster/hadoopandaddons-cluster/hbasecharts for day-1 cluster provisioningRelated Issue
N/A
Type of Change
Changes Made
hadoop-core,journalnode,namenode, anddatanodehmaster,hregionserver, andhbase-standaloneHDFS capabilities
standalone:hadoop-core+ singlenamenode+ singledatanodecluster:hadoop-core+journalnodequorum + dualnamenode+ scalabledatanodenn0andnn10bootstrapStandbyretry loop for the standby NameNodehostNetwork/hostPIDruntime supportpreStopcore-site.xmlhdfs-site.xmlfor NameNode / DataNode / JournalNodehadoop-env.shlog4j.propertieshadoop-metrics2.propertiesnamenode,datanode, andjournalnodeHBase capabilities
hbase-cluster:hmaster+hregionserverhbase-standalone: a single-process local-storage HBase deploymenthdfs://<nameservice>/<rootDir>hdfs-site.xmlfile://-backedhbase.rootdirRegionMoverhbase-site.xmlfor distributed and standalone modescore-site.xml/hdfs-site.xmlinjection for HDFS-backed deploymentshbase-env.shCross-cutting capabilities
READMEand release notes for both addonsClusterDefinition,ComponentDefinition,ComponentVersion, config templates, and parameter renderers together so the addons are deployable on KubeBlocks 1.1Testing
Code review coverage for this draft was based on the full 108-file PR content, including addon definitions, cluster charts, config templates, scripts, values, schemas, and release notes.
Recommended validation for this PR:
Render
addons-cluster/hadoopin bothstandaloneandclustertopologiesValidate NameNode format / standby bootstrap / ZKFC behavior in an HA environment with ZooKeeper
Validate DataNode registration and
preStopdecommission behavior underhostNetworkRender and deploy
addons-cluster/hbasein both distributed and standalone modesValidate HBase cluster mode against an HDFS nameservice-backed deployment
Validate HBase standalone mode with local
file://storageI have added tests that prove my fix is effective or that my feature works
New and existing unit tests pass locally with my changes
I have tested this on the following platforms:
Checklist
Screenshots (if applicable)
N/A
Additional Notes
file://storage semantics.