Skip to content

Conversation

@bbeaudreault
Copy link
Member

This PR adds a first pass for our hbase-client-bundle and hbase-mapreduce-bundle for hbase2. Since we haven't upgraded hadoop/hdfs yet, I had to add a cdh5 mode which tries to set up the deps for these 2 bundles for cdh5. This is a little hacky but is hopefully temporary, since we're now starting the hadoop upgrade.

I have a feeling we might run into some issues with hadoop/hdfs compatibility, specifically for some niche cases such as in hbase-snapshot-scanning. I already ran into a binary compatibility issue in that repo, but I'm hopeful that it will really only apply to a small minority of use-cases. The vast majority of use-cases will go through the hbase client which doesn't itself depend on much in hadoop/hdfs.

@bbeaudreault bbeaudreault merged commit fe19a63 into hubspot-2 May 31, 2022
@bbeaudreault bbeaudreault deleted the client-bundles branch May 31, 2022 14:55
bbeaudreault added a commit that referenced this pull request Jul 29, 2022
# This is the 1st commit message:

Add maven and RPM building in blazar

This uses our standard buildpack, but each module must get a custom .blazar.yaml to pass in required
properties to the build. One can distribute that .blazar.yaml using build-scripts/copy_blazar_yaml.sh.
In order to minimize the duplication, most of the customizations are consolidated in
build-scripts/prepare_environment.sh.

The RPM build is hooked into the standard build hbase-assembly, as a post-build step. The RPM build
scripts in hbase-assembly/rpm-build handle turning the assembled tar.gz into multiple RPMs. We required
some minor changes to the descriptor in hbase-assembly to account for the fact that our build processes
each module independently instead of as a single reactor build. As a result, moduleSet does not work, so
moduleSet usages were converted to dependencySet.

# This is the commit message #2:

Fixes to get HubSpot build to work

- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.

We could potentially try to upstream generic versions changes of these at some point

# This is the commit message #3:

Add client bundles for hbase2 (#11)

* Add hubspot client bundles

* add cdh5 mode and build the client bundles using cdh5 hadoop and java8 for now

# This is the commit message #4:

Add AggregationClient to client bundle (#12)


# This is the commit message #5:

Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
bbeaudreault added a commit that referenced this pull request Jul 29, 2022
- Add maven and RPM building in blazar
- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.
- Add client bundles for hbase2 (#11)
- Add AggregationClient to client bundle (#12)
- Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
- Fix client bundle metrics dep issues (#14)
bbeaudreault added a commit that referenced this pull request Jul 29, 2022
- Add maven and RPM building in blazar
- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.
- Add client bundles for hbase2 (#11)
- Add AggregationClient to client bundle (#12)
- Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
- Fix client bundle metrics dep issues (#14)
bbeaudreault added a commit that referenced this pull request Sep 6, 2022
- Add maven and RPM building in blazar
- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.
- Add client bundles for hbase2 (#11)
- Add AggregationClient to client bundle (#12)
- Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
- Fix client bundle metrics dep issues (#14)
bbeaudreault added a commit that referenced this pull request Sep 9, 2022
- Add maven and RPM building in blazar
- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.
- Add client bundles for hbase2 (#11)
- Add AggregationClient to client bundle (#12)
- Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
- Fix client bundle metrics dep issues (#14)
bbeaudreault added a commit that referenced this pull request Sep 9, 2022
- Add maven and RPM building in blazar
- Our branch version munging script set-maven-versions can't parse the pom.xml due to unicode, remove it.
- Our build adds build.json files to the jars. Allowlist those files in jar content verification.
- Add client bundles for hbase2 (#11)
- Add AggregationClient to client bundle (#12)
- Shade hadoop compat classes so they can be loaded in hadoop jobs (#13)
- Fix client bundle metrics dep issues (#14)
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.

2 participants