aboutsummaryrefslogtreecommitdiff
path: root/bigtop-packages/src/deb/hbase
diff options
context:
space:
mode:
authorBruno Jacques Mahe <bmahe@apache.org>2012-02-04 01:23:51 +0000
committerBruno Jacques Mahe <bmahe@apache.org>2012-02-04 01:23:51 +0000
commit891eaa23432fd9230351973e93b14f9acefbce93 (patch)
treecc5cf39f45287575a86f8d6560d347ac0fc79f69 /bigtop-packages/src/deb/hbase
parent81607e734606b1fb923cbffaedde5c13b9174ff6 (diff)
BIGTOP-384. HBase bundle 2 different versions of hadoop as well as a zookeeper version
git-svn-id: https://svn.apache.org/repos/asf/incubator/bigtop/trunk@1240430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bigtop-packages/src/deb/hbase')
-rwxr-xr-xbigtop-packages/src/deb/hbase/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/bigtop-packages/src/deb/hbase/rules b/bigtop-packages/src/deb/hbase/rules
index af252e11..98740bca 100755
--- a/bigtop-packages/src/deb/hbase/rules
+++ b/bigtop-packages/src/deb/hbase/rules
@@ -58,6 +58,8 @@ install: build
cp debian/hbase.nofiles.conf debian/tmp/etc/security/limits.d/${hbase_pkg_name}.nofiles.conf
# Symlink in the dependency jars from their packages. Both of these packages
# provide an unversioned symlink foo.jar -> foo-0.1.2.jar.
+ rm -f debian/tmp/usr/lib/hadoop-*
+ rm -f debian/tmp/usr/lib/zookeeper-*
ln -f -s ${hbase_jar_deps} debian/tmp/usr/lib/${hbase_pkg_name}/lib/
ln -s /var/log/${hbase_pkg_name} debian/tmp/usr/lib/${hbase_pkg_name}/logs
ln -s /var/run/${hbase_pkg_name} debian/tmp/usr/lib/${hbase_pkg_name}/pids