bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject bigtop git commit: BIGTOP-2323. scripting libhdfs3 package production
Date Fri, 12 Feb 2016 17:07:52 GMT
Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 2df53e916 -> 5372c471e


BIGTOP-2323. scripting libhdfs3 package production


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/5372c471
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/5372c471
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/5372c471

Branch: refs/heads/BIGTOP-2320
Commit: 5372c471ed3a3199c1002d258104b8b71360ecd9
Parents: 2df53e9
Author: Konstantin Boudnik <cos@apache.org>
Authored: Fri Feb 12 20:06:46 2016 +0300
Committer: Konstantin Boudnik <cos@apache.org>
Committed: Fri Feb 12 20:06:46 2016 +0300

----------------------------------------------------------------------
 bigtop-packages/src/common/hawq/do-component-build | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/5372c471/bigtop-packages/src/common/hawq/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hawq/do-component-build b/bigtop-packages/src/common/hawq/do-component-build
index 07934b6..82436a5 100755
--- a/bigtop-packages/src/common/hawq/do-component-build
+++ b/bigtop-packages/src/common/hawq/do-component-build
@@ -34,6 +34,20 @@ cd ${CWD}
 ldconfig $CWD/libyarn/lib
 ## libyarn should be available in the system at this point
 
+## build libhdfs3
+wget https://github.com/PivotalRD/libhdfs3/archive/v2.2.31.tar.gz
+tar zxf v2.2.31.tar.gz
+cd libhdfs3-2.2.31
+mkdir -p build
+cd build
+../bootstrap
+make rpm-package
+## need to run diff target for deb and rpm. Figure out how
+cd ${CWD}
+# now something like
+# rpm -ivh rpms/RPMS/`uname -p`/*rpm
+## libhdfs3 libhdfs3-devel should be available now
+
 echo "Running the native build"
 date;
 ./configure --prefix=${CWD}/hawq \


Mime
View raw message