Repository: bigtop Updated Branches: refs/heads/master 30c8e69ae -> b39748a22
BIGTOP-1244. bump flume to 1.5.0.1 Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/b39748a2 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/b39748a2 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/b39748a2 Branch: refs/heads/master Commit: b39748a22fb985a1352f5e20c481d521840f5da8 Parents: 30c8e69 Author: Roman Shaposhnik <[email protected]> Authored: Fri Jun 27 18:30:42 2014 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Jun 27 18:30:42 2014 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/flume/do-component-build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/b39748a2/bigtop-packages/src/common/flume/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/flume/do-component-build b/bigtop-packages/src/common/flume/do-component-build index 5197595..9a8a4c3 100755 --- a/bigtop-packages/src/common/flume/do-component-build +++ b/bigtop-packages/src/common/flume/do-component-build @@ -23,8 +23,11 @@ export MAVEN_OPTS="-Xmx1536m -Xms256m -XX:MaxPermSize=256m" sed -i -e \ 's#<artifactId>asynchbase</artifactId>#<artifactId>asynchbase</artifactId>\n<exclusions>\n<exclusion>\n<groupId>org.apache.zookeeper</groupId>\n<artifactId>zookeeper</artifactId>\n</exclusion>\n</exclusions>#' flume-ng-sinks/flume-ng-hbase-sink/pom.xml -mvn -DskipTests -Dhadoop.profile=2 \ - -Dhadoop.version=$HADOOP_VERSION \ - -Dhbase.version=$HBASE_VERSION \ - -Dhadoop.profile=hbase-98 \ + +# The following is weird, but true: yes *hadoop*.profile is hbase-98 +# This profile will activate hadoop2.version as the relevant property +# and will also make us specify hbase version with -hadoop2 prefix +mvn -DskipTests -Dhadoop.profile=hbase-98 \ + -Dhadoop2.version=$HADOOP_VERSION \ + -Dhbase.version=${HBASE_VERSION}-hadoop2 \ clean install "$@"
