Skip to content

Conversation

@bbeaudreault
Copy link
Member

The comment I added to the pom.xml covers why this change is necessary and what it does. This is actually a problem that also occurred in cdh5 jobs, but the cdh5 snapshot scanning code doesn't rely on metrics at all. So trying to run with hbase2 you start to see ClassNotFoundExceptions. This change resolves those exceptions.

@bbeaudreault bbeaudreault merged commit 56edc75 into hubspot-2 Jun 9, 2022
@bbeaudreault bbeaudreault deleted the debug-snapshot branch June 9, 2022 13:51
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