Github user c0s commented on a diff in the pull request:
https://github.com/apache/bigtop/pull/188#discussion_r107272696
--- Diff: bigtop-packages/src/common/apex/do-component-build ---
@@ -28,6 +28,9 @@ command -v mvn > /dev/null 2>&1 || {
# Build apex
mvn clean package -DskipTests "$@"
+#Find hadoop.version from pom.xml
+APEX_HADOOP_VERSION=$(grep -oPm1 "(?<=<hadoop.version>)[^<]+" pom.xml)
--- End diff --
The very first material line of this file is to source `bigtop.bom` that
contains the version of the components, included into the stack. Doing this
grep you might effectively build Apex against a different version of Hadoop,
hence introducing the inconsistency from the get go.
Any reason you don't want to build this component against Bigtop's Hadoop
version? Thanks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---