Skip to content

Conversation

@bbeaudreault
Copy link
Member

@bbeaudreault bbeaudreault commented Dec 17, 2021

I added this when I initially set up the hubspot build, thinking it'd be nice to reflect our actual build numbers in the various UIs, logs, etc. Unfortunately it doesn't work as well as I'd hope, because of the fact that we use multi-module build. The Version class is written by hbase-common module, which may not get built for every merged change. For example, if a change is pushed to hbase-server, that will not result in a re-build of hbase-common. So the Version will not update and this can be misleading.

There are other options we could consider for injecting our own version, but for now I'm just going to remove this so that we revert to the default behavior of just having it be the upstream version (i.e. just 2.4.6 instead of 2.4.6-hs.35)

Related to HBasePlanning#764

@bbeaudreault bbeaudreault merged commit f556810 into hubspot-2 Dec 17, 2021
@bbeaudreault bbeaudreault deleted the remove_version branch December 17, 2021 13:55
bbeaudreault added a commit that referenced this pull request Dec 20, 2021
bbeaudreault added a commit that referenced this pull request Dec 20, 2021
bbeaudreault added a commit that referenced this pull request Jan 28, 2022
bbeaudreault added a commit that referenced this pull request Jan 28, 2022
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)
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