diff options
author | Olaf Flebbe <of@oflebbe.de> | 2015-03-08 17:36:35 +0100 |
---|---|---|
committer | YoungWoo Kim <ywkim@apache.org> | 2015-03-17 19:54:18 +0900 |
commit | a61c0312f78e08753a5a940eacf3fe43b9b2a813 (patch) | |
tree | eab748449a3545500412e03f7ae383450561da4c /bigtop-packages/src/deb/hbase | |
parent | d07cf3369275582a39be2cc594e5d30c1e70f4d3 (diff) |
BIGTOP-1738: Update HBase because javadoc broken
Signed-off-by: YoungWoo Kim <ywkim@apache.org>
Diffstat (limited to 'bigtop-packages/src/deb/hbase')
-rw-r--r-- | bigtop-packages/src/deb/hbase/compat | 2 | ||||
-rw-r--r-- | bigtop-packages/src/deb/hbase/control | 2 | ||||
-rwxr-xr-x | bigtop-packages/src/deb/hbase/install_init_scripts.sh | 10 | ||||
-rw-r--r-- | bigtop-packages/src/deb/hbase/service-postinst.tpl | 53 | ||||
-rw-r--r-- | bigtop-packages/src/deb/hbase/service-postrm.tpl | 53 |
5 files changed, 4 insertions, 116 deletions
diff --git a/bigtop-packages/src/deb/hbase/compat b/bigtop-packages/src/deb/hbase/compat index 7f8f011e..ec635144 100644 --- a/bigtop-packages/src/deb/hbase/compat +++ b/bigtop-packages/src/deb/hbase/compat @@ -1 +1 @@ -7 +9 diff --git a/bigtop-packages/src/deb/hbase/control b/bigtop-packages/src/deb/hbase/control index 850047f8..bfa4218e 100644 --- a/bigtop-packages/src/deb/hbase/control +++ b/bigtop-packages/src/deb/hbase/control @@ -17,7 +17,7 @@ Section: misc Priority: extra Maintainer: Bigtop <dev@bigtop.apache.org> Build-Depends: debhelper (>= 7.0.50~) -Standards-Version: 3.8.0 +Standards-Version: 3.9.4 Homepage: http://hbase.apache.org/ Package: hbase diff --git a/bigtop-packages/src/deb/hbase/install_init_scripts.sh b/bigtop-packages/src/deb/hbase/install_init_scripts.sh index 9f0f52a0..ad151935 100755 --- a/bigtop-packages/src/deb/hbase/install_init_scripts.sh +++ b/bigtop-packages/src/deb/hbase/install_init_scripts.sh @@ -18,23 +18,17 @@ SRC_PKG=hbase for node in master regionserver rest thrift thrift2; do service_pkgdir=debian/$SRC_PKG-$node - debdir=$service_pkgdir/DEBIAN - mkdir -p $service_pkgdir/etc/init.d/ $debdir if [ "$node" == "regionserver" ] ; then # Region servers start from a different template that allows # them to run multiple concurrent instances of the daemon template=debian/regionserver-init.d.tpl sed -i -e "s|@INIT_DEFAULT_START@|2 3 4 5|" $template sed -i -e "s|@INIT_DEFAULT_STOP@|0 1 6|" $template - sed -e "s|@HBASE_DAEMON@|$node|" -e "s|@CHKCONFIG@|2345 87 13|" $template > $service_pkgdir/etc/init.d/$SRC_PKG-$node + sed -e "s|@HBASE_DAEMON@|$node|" -e "s|@CHKCONFIG@|2345 87 13|" $template > debian/hbase-$node.init else sed -e "s|@HBASE_DAEMON@|$node|" debian/hbase.svc > debian/hbase-$node.svc - bash debian/init.d.tmpl debian/hbase-$node.svc deb $service_pkgdir/etc/init.d/$SRC_PKG-$node + bash debian/init.d.tmpl debian/hbase-$node.svc deb debian/hbase-$node.init fi - sed -e "s|@HBASE_DAEMON@|$node|" debian/service-postinst.tpl > $debdir/postinst - sed -e "s|@HBASE_DAEMON@|$node|" debian/service-postrm.tpl > $debdir/postrm - echo /etc/init.d/$SRC_PKG-$node > $debdir/conffiles - chmod 755 $debdir/postinst $debdir/postrm $service_pkgdir/etc/init.d* mkdir -p $service_pkgdir/usr/share/lintian/overrides echo "$SRC_PKG-$node: new-package-should-close-itp-bug" > $service_pkgdir/usr/share/lintian/overrides/$SRC_PKG-$node diff --git a/bigtop-packages/src/deb/hbase/service-postinst.tpl b/bigtop-packages/src/deb/hbase/service-postinst.tpl deleted file mode 100644 index b15ef666..00000000 --- a/bigtop-packages/src/deb/hbase/service-postinst.tpl +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# postinst script for hbase -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <postinst> `abort-remove' -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - update-rc.d hbase-@HBASE_DAEMON@ defaults >/dev/null || exit 1 - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -exit 0 - - diff --git a/bigtop-packages/src/deb/hbase/service-postrm.tpl b/bigtop-packages/src/deb/hbase/service-postrm.tpl deleted file mode 100644 index 23217a78..00000000 --- a/bigtop-packages/src/deb/hbase/service-postrm.tpl +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# postrm script for hbase -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <overwriter> -# <overwriter-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge) - update-rc.d -f hbase-@HBASE_DAEMON@ remove > /dev/null || exit 1 - ;; - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -exit 0 - - |