Repository: bigtop
Updated Branches:
  refs/heads/master 5031b6635 -> 23582dc06


http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-beeswax.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-beeswax.install 
b/bigtop-packages/src/deb/hue/hue-beeswax.install
deleted file mode 100644
index d49bfa7..0000000
--- a/bigtop-packages/src/deb/hue/hue-beeswax.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/beeswax

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-common.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-common.install 
b/bigtop-packages/src/deb/hue/hue-common.install
deleted file mode 100644
index 35985fe..0000000
--- a/bigtop-packages/src/deb/hue/hue-common.install
+++ /dev/null
@@ -1,29 +0,0 @@
-/etc/hue/conf.empty
-/usr/lib/hue/app.reg
-/usr/lib/hue/desktop
-/usr/lib/hue/ext
-/usr/lib/hue/LICENSE.txt
-/usr/lib/hue/Makefile
-/usr/lib/hue/Makefile.buildvars
-/usr/lib/hue/Makefile.sdk
-/usr/lib/hue/Makefile.vars
-/usr/lib/hue/Makefile.vars.priv
-/usr/lib/hue/README.md
-/usr/lib/hue/tools
-/usr/lib/hue/VERSION
-/usr/lib/hue/build/env/bin/*
-/usr/lib/hue/build/env/include/
-/usr/lib/hue/build/env/lib*/
-/usr/lib/hue/build/env/stamp
-/usr/lib/hue/apps/Makefile
-/usr/lib/hue/apps/about
-/usr/lib/hue/apps/filebrowser
-/usr/lib/hue/apps/help
-/usr/lib/hue/apps/jobbrowser
-/usr/lib/hue/apps/jobsub
-/usr/lib/hue/apps/proxy
-/usr/lib/hue/apps/useradmin
-/usr/lib/hue/apps/oozie
-/usr/lib/hue/apps/metastore
-/var/log/hue
-/var/lib/hue

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-common.postinst
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-common.postinst 
b/bigtop-packages/src/deb/hue/hue-common.postinst
deleted file mode 100644
index 9fbe3da..0000000
--- a/bigtop-packages/src/deb/hue/hue-common.postinst
+++ /dev/null
@@ -1,69 +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 Hue
-#
-# 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)
-        # tweak permissions
-        chown -R hue:hue /var/log/hue /var/lib/hue
-
-        # Install config alternatives
-        update-alternatives  --install /etc/hue/conf hue-conf 
/etc/hue/conf.empty 30
-
-        # If we're upgrading, copy their backed up db from the old version
-        # and syncdb.
-        if [ ! -z "$2" ]; then
-                OLD_DB=/usr/share/hue/desktop/desktop.db.bak.$2
-                if [ -e $OLD_DB ]; then
-                        echo Upgrading old database...
-                        cp $OLD_DB /usr/share/hue/desktop/desktop.db
-                fi
-        fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-common.postrm
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-common.postrm 
b/bigtop-packages/src/deb/hue/hue-common.postrm
deleted file mode 100644
index 4c5ace3..0000000
--- a/bigtop-packages/src/deb/hue/hue-common.postrm
+++ /dev/null
@@ -1,56 +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 Hue
-#
-# 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
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear|purge)
-        if [ -d /usr/lib/hue ] ; then
-                find /usr/lib/hue -name \*.py[co] -exec rm -f {} \;
-        fi
-    ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-common.preinst
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-common.preinst 
b/bigtop-packages/src/deb/hue/hue-common.preinst
deleted file mode 100644
index 28242ea..0000000
--- a/bigtop-packages/src/deb/hue/hue-common.preinst
+++ /dev/null
@@ -1,73 +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.
-
-# preinst script for hue
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-USER=hue
-case "$1" in
-    install|upgrade)
-        getent group $USER >/dev/null || groupadd -r $USER
-        if ! getent passwd $USER >/dev/null; then
-                adduser \
-                  --system \
-                  --disabled-login \
-                  --ingroup $USER \
-                  --home /usr/lib/hue \
-                  --gecos "Hue daemon" \
-                  $USER >/dev/null
-        fi
-
-        # In upgrade, make a copy of the database, if it's there.
-        if [ "$1" == "upgrade" ] ; then
-                echo "... stopping any running Hue"
-                service hue stop || :
-                OLD_DESKTOP_DB=/usr/share/hue/desktop/desktop.db
-                if [ -e $OLD_DESKTOP_DB ]; then
-                        echo ... backing up $OLD_DESKTOP_DB as 
${OLD_DESKTOP_DB}.bak.$2
-                        cp -a $OLD_DESKTOP_DB ${OLD_DESKTOP_DB}.bak.$2
-                fi
-        fi
-
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-common.prerm
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-common.prerm 
b/bigtop-packages/src/deb/hue/hue-common.prerm
deleted file mode 100644
index d3743ef..0000000
--- a/bigtop-packages/src/deb/hue/hue-common.prerm
+++ /dev/null
@@ -1,61 +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.
-
-# prerm script for Hue
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-        update-alternatives --remove hue-conf /etc/hue/conf.empty || :
-        if [ -d /usr/lib/hue ]; then
-          cd /usr/lib/hue
-          find . -name \*.py[co] -exec rm -f {} \;
-        fi
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-doc.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-doc.install 
b/bigtop-packages/src/deb/hue/hue-doc.install
deleted file mode 100644
index 74eab93..0000000
--- a/bigtop-packages/src/deb/hue/hue-doc.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/doc/hue

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-hbase.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-hbase.install 
b/bigtop-packages/src/deb/hue/hue-hbase.install
deleted file mode 100644
index a95b4a1..0000000
--- a/bigtop-packages/src/deb/hue/hue-hbase.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/hbase

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-impala.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-impala.install 
b/bigtop-packages/src/deb/hue/hue-impala.install
deleted file mode 100644
index 1ff1a4e..0000000
--- a/bigtop-packages/src/deb/hue/hue-impala.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/impala

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-pig.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-pig.install 
b/bigtop-packages/src/deb/hue/hue-pig.install
deleted file mode 100644
index 7ec7a31..0000000
--- a/bigtop-packages/src/deb/hue/hue-pig.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/pig

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-rdbms.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-rdbms.install 
b/bigtop-packages/src/deb/hue/hue-rdbms.install
deleted file mode 100644
index b4c928a..0000000
--- a/bigtop-packages/src/deb/hue/hue-rdbms.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/rdbms

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-search.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-search.install 
b/bigtop-packages/src/deb/hue/hue-search.install
deleted file mode 100644
index 28ca6d0..0000000
--- a/bigtop-packages/src/deb/hue/hue-search.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/search

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-security.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-security.install 
b/bigtop-packages/src/deb/hue/hue-security.install
deleted file mode 100644
index 86816f6..0000000
--- a/bigtop-packages/src/deb/hue/hue-security.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/security

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-server.hue.init
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-server.hue.init 
b/bigtop-packages/src/deb/hue/hue-server.hue.init
deleted file mode 100644
index f104ddb..0000000
--- a/bigtop-packages/src/deb/hue/hue-server.hue.init
+++ /dev/null
@@ -1,258 +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.
-
-
-### BEGIN INIT INFO
-# Provides:          hue
-# Required-Start:    $network $local_fs
-# Required-Stop:
-# Should-Start:      $named
-# Should-Stop:
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Hue
-# Description:       Hue Web Interface
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-DAEMON=/usr/lib/hue/build/env/bin/supervisor # Introduce the server's location 
here
-NAME=hue                               # Introduce the short server's name here
-DESC="Hue for Hadoop"                  # Introduce a short description here
-LOGDIR=/var/log/hue                    # Log directory to use
-
-PIDFILE=/var/run/hue/supervisor.pid
-
-test -x $DAEMON || exit 0
-
-. /lib/lsb/init-functions
-
-# Default options, these can be overriden by the information
-# at /etc/default/$NAME
-DAEMON_OPTS="-p $PIDFILE -d -l $LOGDIR" # Additional options given to the 
server
-
-DIETIME=10              # Time to wait for the server to die, in seconds
-                        # If this value is set too low you might not
-                        # let some servers to die gracefully and
-                        # 'restart' will not work
-
-STARTTIME=5             # Time to wait for the server to start, in seconds
-                        # If this value is set each time the server is
-                        # started (on start or restart) the script will
-                        # stall to try to determine if it is running
-                        # If it is not set and the server takes time
-                        # to setup a pid file the log message might
-                        # be a false positive (says it did not start
-                        # when it actually did)
-
-DAEMONUSER=hue     # Users to run the daemons as. If this value
-                        # is set start-stop-daemon will chuid the server
-
-# Include defaults if available
-BIGTOP_DEFAULTS_DIR=${BIGTOP_DEFAULTS_DIR-/etc/default}
-[ -n "${BIGTOP_DEFAULTS_DIR}" -a -r ${BIGTOP_DEFAULTS_DIR}/$NAME ] && . 
${BIGTOP_DEFAULTS_DIR}/$NAME
-
-# Use this if you want the user to explicitly set 'RUN' in
-# /etc/default/
-#if [ "x$RUN" != "xyes" ] ; then
-#    log_failure_msg "$NAME disabled, please adjust the configuration to your 
needs "
-#    log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to 
enable it."
-#    exit 1
-#fi
-
-# Check that the user exists (if we set a user)
-# Does the user exist?
-if [ -n "$DAEMONUSER" ] ; then
-    if getent passwd | grep -q "^$DAEMONUSER:"; then
-        # Obtain the uid and gid
-        DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'`
-        DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'`
-    else
-        log_failure_msg "The user $DAEMONUSER, required to run $NAME does not 
exist."
-        exit 1
-    fi
-fi
-
-
-set -e
-
-running_pid() {
-# Check if a given process pid's cmdline matches a given name
-    pid=$1
-    [ -z "$pid" ] && return 1
-    [ ! -d /proc/$pid ] &&  return 1
-    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
-    echo $cmd | grep -q python || return 1
-    return 0
-}
-
-running() {
-# Check if the process is running looking at /proc
-# (works for all users)
-
-    # No pidfile, probably no daemon present
-    [ ! -f "$PIDFILE" ] && return 1
-    pid=`cat $PIDFILE`
-    running_pid $pid || return 1
-    return 0
-}
-
-start_server() {
-# Start the process using the wrapper
-       export PYTHON_EGG_CACHE='/tmp/.hue-python-eggs'
-        mkdir -p /usr/lib/hue/pids/ 
-        mkdir -p ${PYTHON_EGG_CACHE}
-        mkdir -p $(dirname $PIDFILE) $LOGDIR
-        chown -R $DAEMONUSER $(dirname $PIDFILE) $LOGDIR ${PYTHON_EGG_CACHE}
-        # dont setuid, since supervisor will drop privileges on its
-        # own
-        PATH=/usr/lib/hue/build/env/bin:$PATH start-stop-daemon --start 
--quiet --pidfile $PIDFILE \
-                    --exec $DAEMON -- $DAEMON_OPTS
-        errcode=$?
-        return $errcode
-}
-
-stop_server() {
-# Stop the process using the wrapper
-        killproc -p $PIDFILE $DAEMON
-        errcode=$?
-        return $errcode
-}
-
-reload_server() {
-    [ ! -f "$PIDFILE" ] && return 1
-    pid=pidofproc $PIDFILE # This is the daemon's pid
-    # Send a SIGHUP
-    kill -1 $pid
-    return $?
-}
-
-force_stop() {
-# Force the process to die killing it manually
-    [ ! -e "$PIDFILE" ] && return
-    if running ; then
-        kill -15 $pid
-        # Is it really dead?
-        sleep "$DIETIME"s
-        if running ; then
-            kill -9 $pid
-            sleep "$DIETIME"s
-            if running ; then
-                echo "Cannot kill $NAME (pid=$pid)!"
-                exit 1
-            fi
-        fi
-    fi
-    rm -f $PIDFILE
-}
-
-
-case "$1" in
-  start)
-        log_daemon_msg "Starting $DESC " "$NAME"
-        # Check if it's running first
-        if running ;  then
-            log_progress_msg "apparently already running"
-            log_end_msg 0
-            exit 0
-        fi
-        if start_server ; then
-            # NOTE: Some servers might die some time after they start,
-            # this code will detect this issue if STARTTIME is set
-            # to a reasonable value
-            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
-            if  running ;  then
-                # It's ok, the server started and is running
-                log_end_msg 0
-            else
-                # It is not running after we did start
-                log_end_msg 1
-            fi
-        else
-            # Either we could not start it
-            log_end_msg 1
-        fi
-        ;;
-  stop)
-        log_daemon_msg "Stopping $DESC" "$NAME"
-        if running ; then
-            # Only stop the server if we see it running
-            errcode=0
-            stop_server || errcode=$?
-            log_end_msg $errcode
-        else
-            # If it's not running don't do anything
-            log_progress_msg "apparently not running"
-            log_end_msg 0
-            exit 0
-        fi
-        ;;
-  force-stop)
-        # First try to stop gracefully the program
-        $0 stop
-        errcode=0
-        if running; then
-            # If it's still running try to kill it more forcefully
-            log_daemon_msg "Stopping (force) $DESC" "$NAME"
-            force_stop || errcode=$?
-        fi
-        # if there are still processes running as hue, just kill them.
-        # we only do this if the user is hue, in case it's been changed
-        # to nobody - we don't want to go and kill a webserver
-        if [ "$DAEMONUSER" -eq hue ] && ps -u hue | grep -q build/env/bin ; 
then
-          killall -9 -u hue
-          errcode=$?
-        fi
-        log_end_msg $errcode
-        ;;
-  restart|force-reload)
-        log_daemon_msg "Restarting $DESC" "$NAME"
-        errcode=0
-        stop_server || errcode=$?
-        # Wait some sensible amount, some server need this
-        [ -n "$DIETIME" ] && sleep $DIETIME
-        start_server || errcode=$?
-        [ -n "$STARTTIME" ] && sleep $STARTTIME
-        running || errcode=$?
-        log_end_msg $errcode
-        ;;
-  status)
-
-        log_daemon_msg "Checking status of $DESC" "$NAME"
-        if running ;  then
-            log_progress_msg "running"
-            log_end_msg 0
-        else
-            log_progress_msg "apparently not running"
-            log_end_msg 1
-            exit 1
-        fi
-        ;;
-  # Use this if the daemon cannot reload
-  reload)
-        log_warning_msg "Reloading $NAME daemon: not implemented, as the 
daemon"
-        log_warning_msg "cannot re-read the config file (use restart)."
-        ;;
-
-  *)
-        N=/etc/init.d/$NAME
-        echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" 
>&2
-        exit 1
-        ;;
-esac
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-server.prerm
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-server.prerm 
b/bigtop-packages/src/deb/hue/hue-server.prerm
deleted file mode 100644
index 6f007ce..0000000
--- a/bigtop-packages/src/deb/hue/hue-server.prerm
+++ /dev/null
@@ -1,49 +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.
-
-# prerm script for Hue
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-if [ -x "/etc/init.d/hue" ]; then
-        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-                invoke-rc.d hue stop || exit $?
-        else
-                /etc/init.d/hue stop || exit $?
-        fi
-fi
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-spark.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-spark.install 
b/bigtop-packages/src/deb/hue/hue-spark.install
deleted file mode 100644
index 4a3e3ea..0000000
--- a/bigtop-packages/src/deb/hue/hue-spark.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/spark

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-sqoop.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-sqoop.install 
b/bigtop-packages/src/deb/hue/hue-sqoop.install
deleted file mode 100644
index 54beea8..0000000
--- a/bigtop-packages/src/deb/hue/hue-sqoop.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/sqoop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/hue-zookeeper.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/hue-zookeeper.install 
b/bigtop-packages/src/deb/hue/hue-zookeeper.install
deleted file mode 100644
index cd30c81..0000000
--- a/bigtop-packages/src/deb/hue/hue-zookeeper.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/hue/apps/zookeeper

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/rules
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/rules 
b/bigtop-packages/src/deb/hue/rules
deleted file mode 100755
index c4f76b4..0000000
--- a/bigtop-packages/src/deb/hue/rules
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/make -f
-#
-# 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.
-#
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# Implicit targets
-SHELL := /bin/bash
-
-APPS=beeswax impala pig hbase sqoop search security rdbms spark useradmin 
zookeeper
-
-$(APPS:%=debian/hue-%.postinst): debian/hue-app.postinst.tpl
-       sed -e 's#@APP@#$(patsubst debian/hue-%.postinst,%,$@)#'  < $< > $@
-
-$(APPS:%=debian/hue-%.prerm): debian/hue-app.prerm.tpl
-       sed -e 's#@APP@#$(patsubst debian/hue-%.prerm,%,$@)#'  < $< > $@
-
-%:
-       dh $@
-
-override_dh_auto_build:
-       env FULL_VERSION=${HUE_BASE_VERSION} bash -x debian/do-component-build 
-Dmaven.repo.local=${HOME}/.m2/repository
-
-override_dh_auto_install: build $(APPS:%=debian/hue-%.postinst) 
$(APPS:%=debian/hue-%.prerm)
-       bash -x debian/install_hue.sh --build-dir=${PWD} 
--prefix=${PWD}/debian/tmp
-       sed -e 's,^,build:,;' debian/tmp/usr/lib/hue/Makefile.buildvars \
-         | tr _ - >> debian/hue-common.substvars
-
-override_dh_installinit:
-       dh_installinit --name=hue
-
-override_dh_auto_test:
-       @echo Tests are disabled
-
-override_dh_auto_clean:
-       @echo Clean disabled

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/source/format
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/source/format 
b/bigtop-packages/src/deb/hue/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/bigtop-packages/src/deb/hue/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/deb/hue/source/include-binaries
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hue/source/include-binaries 
b/bigtop-packages/src/deb/hue/source/include-binaries
deleted file mode 100644
index e3fe0e4..0000000
--- a/bigtop-packages/src/deb/hue/source/include-binaries
+++ /dev/null
@@ -1 +0,0 @@
-debian/hue-virtualenv.tgz

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/BUILD/.gitignore
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/BUILD/.gitignore 
b/bigtop-packages/src/rpm/hue/BUILD/.gitignore
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/RPMS/.gitignore
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/RPMS/.gitignore 
b/bigtop-packages/src/rpm/hue/RPMS/.gitignore
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/SOURCES/.gitignore
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/SOURCES/.gitignore 
b/bigtop-packages/src/rpm/hue/SOURCES/.gitignore
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/SOURCES/hue.init
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/SOURCES/hue.init 
b/bigtop-packages/src/rpm/hue/SOURCES/hue.init
deleted file mode 100644
index 3d2e1b7..0000000
--- a/bigtop-packages/src/rpm/hue/SOURCES/hue.init
+++ /dev/null
@@ -1,139 +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.
-#
-#       /etc/rc.d/init.d/hue
-#
-#       Hue web server
-#
-# chkconfig: 2345 90 10
-# description: Hue web server
-# pidfile: /usr/lib/hue/pids/supervisor.pid
-
-. /etc/init.d/functions
-
-LOCKFILE=/var/lock/subsys/hue
-DAEMON=/usr/lib/hue/build/env/bin/supervisor # Introduce the server's location 
here
-LOGDIR=/var/log/hue  # Log directory to use
-PIDFILE=/var/run/hue/supervisor.pid
-USER=hue
-EXEC=/usr/lib/hue/build/env/bin/python
-DAEMON_OPTS="-p $PIDFILE -l $LOGDIR -d"
-HUE_SHUTDOWN_TIMEOUT=15
-
-hue_start() {
-        export PYTHON_EGG_CACHE='/tmp/.hue-python-eggs'
-        RE_REGISTER=/usr/lib/hue/.re_register
-        if [ -e $RE_REGISTER ]; then
-            # Do app_reg on upgraded apps. This is a workaround for DISTRO-11.
-            # We can probably take it out after another release.
-            DO="/sbin/runuser -s /bin/bash $USER -c"
-            APP_REG="/usr/lib/hue/tools/app_reg/app_reg.py"
-            # Upgraded apps write their paths in the re_rgister file.
-            RE_REG_LOG=/var/log/hue/hue_re_register.log
-
-            # Make cwd somewhere that $USER can chdir into
-            pushd / > /dev/null
-            $DO "DESKTOP_LOG_DIR=$LOGDIR $EXEC $APP_REG --install $(cat 
$RE_REGISTER | xargs echo -n)  >> $RE_REG_LOG 2>&1"
-            ok=$?
-            popd > /dev/null
-            if [ $ok -eq 0 ] ; then
-                rm -f $RE_REGISTER
-            else
-                echo "Failed to register some apps: Details in $RE_REG_LOG"
-            fi
-        fi
-
-        echo -n "Starting hue: "
-        for dir in $(dirname $PIDFILE) $LOGDIR ${PYTHON_EGG_CACHE}
-        do
-            mkdir -p $dir
-            chown -R $USER $dir
-        done
-
-        # Check if already running
-        if [ -e $PIDFILE ] && checkpid $(cat $PIDFILE) ; then
-            echo "already running"
-            return 0
-        fi
-        # the supervisor itself will setuid down to $USER
-        env - PATH=/usr/lib/hue/build/env/bin:$PATH $DAEMON $DAEMON_OPTS
-        ret=$?
-        base=$(basename $0)
-        if [ $ret -eq 0 ]; then
-            sleep 5
-            test -e $PIDFILE && checkpid $(cat $PIDFILE)
-            ret=$?
-        fi
-        if [ $ret -eq 0 ]; then
-            touch $LOCKFILE
-            success $"$base startup"
-        else
-            failure $"$base startup"
-        fi
-        echo
-        return $ret
-}
-
-hue_stop() {
-        if [ ! -e $PIDFILE ]; then
-            success "Hue is not running"
-            return 0
-        fi
-
-        echo -n "Shutting down hue: "
-
-        HUE_PID=`cat $PIDFILE 2>/dev/null`
-        if [ -n "$HUE_PID" ]; then
-          kill -TERM ${HUE_PID} &>/dev/null
-          for i in `seq 1 ${HUE_SHUTDOWN_TIMEOUT}` ; do
-            kill -0 ${HUE_PID} &>/dev/null || break
-            sleep 1
-          done
-          kill -KILL ${HUE_PID} &>/dev/null
-        fi
-        echo
-        rm -f $LOCKFILE $PIDFILE
-        return 0
-}
-
-hue_restart() {
-  hue_stop
-  hue_start
-}
-
-case "$1" in
-    start)
-        hue_start
-        ;;
-    stop)
-        hue_stop
-        ;;
-    status)
-        status -p $PIDFILE supervisor
-        ;;
-    restart|reload)
-        hue_restart
-        ;;
-    condrestart)
-        [ -f $LOCKFILE ] && restart || :
-        ;;
-    *)
-        echo "Usage: hue {start|stop|status|reload|restart|condrestart"
-        exit 1
-        ;;
-esac
-exit $?

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/SOURCES/hue.init.suse
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/SOURCES/hue.init.suse 
b/bigtop-packages/src/rpm/hue/SOURCES/hue.init.suse
deleted file mode 100644
index 5be4eb6..0000000
--- a/bigtop-packages/src/rpm/hue/SOURCES/hue.init.suse
+++ /dev/null
@@ -1,181 +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.
-#
-# Hue web server
-#
-# chkconfig: 345 90 10
-# description: Hue web server
-# pidfile: /var/run/hue/supervisor.pid
-#
-### BEGIN INIT INFO
-# Provides:          hue_webserver
-# Required-Start:    $syslog $remote_fs
-# Should-Start:
-# Required-Stop:     $syslog $remote_fs
-# Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
-# Short-Description: Hue web server
-### END INIT INFO
-
-source /lib/lsb/init-functions
-
-
-STATUS_RUNNING=0
-STATUS_DEAD=1
-STATUS_DEAD_AND_LOCK=2
-STATUS_NOT_RUNNING=3
-
-
-ERROR_PROGRAM_NOT_INSTALLED=5
-ERROR_PROGRAM_NOT_CONFIGURED=6
-
-
-RETVAL=0
-LOCKFILE=/var/lock/subsys/hue_webserver
-LOGDIR=/var/log/hue  # Log directory to use
-PIDFILE=/var/run/hue/supervisor.pid
-DAEMON=/usr/lib/hue/build/env/bin/supervisor # Introduce the server's location 
here
-DAEMON_OPTS="-p $PIDFILE -l $LOGDIR -d"
-DESC="Hue web server"
-USER=hue
-HUE_SHUTDOWN_TIMEOUT=15
-
-export PYTHON_EGG_CACHE=/tmp/.hue-python-eggs
-
-hue_start() {
-  [ -x $DAEMON ] || exit $ERROR_PROGRAM_NOT_INSTALLED
-  log_success_msg "Starting $DESC: "
-
-  for dir in $(dirname $PIDFILE) $LOGDIR ${PYTHON_EGG_CACHE}
-  do
-    mkdir -p $dir
-    chown -R $USER $dir
-  done
-
-  PATH=/usr/lib/hue/build/env/bin:$PATH start_daemon -u $USER $DAEMON 
$DAEMON_OPTS
-  RETVAL=$?
-  echo
-  [ $RETVAL -eq 0 ] && touch $LOCKFILE
-  return $RETVAL
-}
-
-hue_stop() {
-  if [ ! -e $PIDFILE ]; then
-    log_success_msg "Hue is not running"
-    return 0
-  fi
-
-  log_success_msg "Stopping $DESC: "
-
-  HUE_PID=`cat $PIDFILE 2>/dev/null`
-  if [ -n "$HUE_PID" ]; then
-    kill -TERM ${HUE_PID} &>/dev/null
-    for i in `seq 1 ${HUE_SHUTDOWN_TIMEOUT}` ; do
-      kill -0 ${HUE_PID} &>/dev/null || break
-      sleep 1
-    done
-    kill -KILL ${HUE_PID} &>/dev/null
-  fi
-  echo
-  rm -f $LOCKFILE $PIDFILE
-  RETVAL=0
-  return $RETVAL
-}
-
-hue_restart() {
-  hue_stop
-  hue_start
-}
-
-
-checkstatus(){
-  pid=`cat "$PIDFILE" 2>/dev/null`
-  if [ "$pid" = '' ]; then
-    # The pidfile probably does not exist or is empty.
-    if [ -e $LOCKFILE ]; then
-      log_failure_msg "$DESC is dead and lock file exists"
-      RETVAL=$STATUS_DEAD_AND_LOCK
-    else
-      log_failure_msg "$DESC is not running"
-      RETVAL=$STATUS_NOT_RUNNING
-    fi
-    return $RETVAL
-  fi
-
-  set -- $pid
-  pid="$1"
-  ps -fp $pid | grep $pid | grep -i hue > /dev/null 2>&1
-  status=$?
-
-  if [ "$status" = 0 ]; then
-    log_success_msg "$DESC is running"
-    RETVAL=$STATUS_RUNNING
-  elif [ -e $LOCKFILE ]; then
-    log_failure_msg "$DESC is dead and lock file exists"
-    RETVAL=$STATUS_DEAD_AND_LOCK
-  else
-    # pidfile exists, that's how we ended up here (by checking the
-    # the pid's status through ps
-    log_failure_msg "$DESC is dead and pid file exists"
-    RETVAL=$STATUS_DEAD
-  fi
-return $RETVAL
-}
-
-hue_condrestart(){
-  [ -e $LOCKFILE ] && restart || :
-}
-
-check_for_root() {
-  if [ $(id -ur) -ne 0 ]; then
-    echo 'Error: root user required'
-    echo
-    exit 1
-  fi
-}
-
-service() {
-  case "$1" in
-    start)
-      check_for_root
-      hue_start
-      ;;
-    stop)
-      check_for_root
-      hue_stop
-      ;;
-    status)
-      checkstatus
-      ;;
-    restart)
-      check_for_root
-      hue_restart
-      ;;
-    condrestart|try-restart)
-      check_for_root
-      hue_condrestart
-      ;;
-    *)
-      echo $"Usage: $0 {start|stop|status|restart|try-restart|condrestart}"
-      exit 1
-  esac
-}
-
-service "$1"
-
-exit $RETVAL

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/SPECS/hue.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/SPECS/hue.spec 
b/bigtop-packages/src/rpm/hue/SPECS/hue.spec
deleted file mode 100644
index 14bdc9f..0000000
--- a/bigtop-packages/src/rpm/hue/SPECS/hue.spec
+++ /dev/null
@@ -1,555 +0,0 @@
-# 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.
-
-##### HUE METAPACKAGE ######
-Name:    hue
-Version: %{hue_version}
-Release: %{hue_release}
-Group: Applications/Engineering
-Summary: The hue metapackage
-License: ASL 2.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n)
-Source0: %{name}-%{hue_base_version}.tar.gz
-Source1: %{name}.init
-Source2: %{name}.init.suse
-Source3: do-component-build
-Source4: install_hue.sh
-Source5: bigtop.bom
-#BIGTOP_PATCH_FILES
-URL: http://github.com/cloudera/hue
-Requires: %{name}-common = %{version}-%{release}
-Requires: %{name}-server = %{version}-%{release}
-Requires: %{name}-impala = %{version}-%{release}
-Requires: %{name}-beeswax = %{version}-%{release}
-Requires: %{name}-pig = %{version}-%{release}
-Requires: %{name}-hbase = %{version}-%{release}
-Requires: %{name}-sqoop = %{version}-%{release}
-Requires: %{name}-search = %{version}-%{release}
-Requires: %{name}-rdbms = %{version}-%{release}
-Requires: %{name}-security = %{version}-%{release}
-Requires: %{name}-spark = %{version}-%{release}
-Requires: %{name}-zookeeper = %{version}-%{release}
-Requires: %{name}-useradmin = %{version}-%{release}
-
-
-################ RPM CUSTOMIZATION ##############################
-# Disable automatic Provides generation - otherwise we will claim to provide 
all of the
-# .so modules that we install inside our private lib directory, which will 
falsely
-# satisfy dependencies for other RPMs on the target system.
-AutoProv: no
-AutoReqProv: no
-%define _use_internal_dependency_generator 0
-
-# Disable post hooks (brp-repack-jars, etc) that just take forever and 
sometimes cause issues
-%define __os_install_post \
-    %{!?__debug_package:/usr/lib/rpm/brp-strip %{__strip}} \
-%{nil}
-%define __jar_repack %{nil}
-%define __prelink_undo_cmd %{nil}
-
-# Disable debuginfo package, since we never need to gdb
-# our own .sos anyway
-%define debug_package %{nil}
-
-# there are some file by-products we don't want to actually package
-%define _unpackaged_files_terminate_build 0
-
-# Init.d directory has different locations dependeing on the OS
-%if  %{!?suse_version:1}0
-%define alternatives_cmd alternatives
-%global initd_dir %{_sysconfdir}/rc.d/init.d
-%else
-%define alternatives_cmd update-alternatives
-%global initd_dir %{_sysconfdir}/rc.d
-%endif
-
-
-############### DESKTOP SPECIFIC CONFIGURATION ##################
-
-# customization of install spots
-%define hue_dir /usr/lib/hue
-%define hadoop_home /usr/lib/hadoop
-%define hadoop_lib %{hadoop_home}/lib
-%define username hue
-
-%define apps_dir %{hue_dir}/apps
-%define about_app_dir %{hue_dir}/apps/about
-%define impala_app_dir %{hue_dir}/apps/impala
-%define security_app_dir %{hue_dir}/apps/security
-%define beeswax_app_dir %{hue_dir}/apps/beeswax
-%define oozie_app_dir %{hue_dir}/apps/oozie
-%define pig_app_dir %{hue_dir}/apps/pig
-%define metastore_app_dir %{hue_dir}/apps/metastore
-%define filebrowser_app_dir %{hue_dir}/apps/filebrowser
-%define help_app_dir %{hue_dir}/apps/help
-%define jobbrowser_app_dir %{hue_dir}/apps/jobbrowser
-%define jobsub_app_dir %{hue_dir}/apps/jobsub
-%define proxy_app_dir %{hue_dir}/apps/proxy
-%define useradmin_app_dir %{hue_dir}/apps/useradmin
-%define etc_hue /etc/hue/conf 
-%define hbase_app_dir %{hue_dir}/apps/hbase
-%define sqoop_app_dir %{hue_dir}/apps/sqoop
-%define search_app_dir %{hue_dir}/apps/search
-%define rdbms_app_dir %{hue_dir}/apps/rdbms
-%define useradmin_app_dir %{hue_dir}/apps/useradmin
-%define spark_app_dir %{hue_dir}/apps/spark
-%define zookeeper_app_dir %{hue_dir}/apps/zookeeper
-
-
-# Path to the HADOOP_HOME to build against - these
-# are not substituted into the build products anywhere!
-%if ! %{?build_hadoop_home:1} %{!?build_hadoop_home:0}
-  %define build_hadoop_home %{hadoop_home}
-%endif
-
-# Post macro for apps
-%define app_post_macro() \
-%post -n %{name}-%1 \
-export ROOT=%{hue_dir} \
-export DESKTOP_LOGLEVEL=WARN \
-export DESKTOP_LOG_DIR=/var/log/hue \
-if [ "$1" != 1 ] ; then \
-  echo %{hue_dir}/apps/%1 >> %{hue_dir}/.re_register \
-fi \
-%{hue_dir}/build/env/bin/python %{hue_dir}/tools/app_reg/app_reg.py --install 
%{apps_dir}/%1 \
-chown -R hue:hue /var/log/hue /var/lib/hue
-
-# Preun macro for apps
-%define app_preun_macro() \
-%preun -n %{name}-%1 \
-if [ "$1" = 0 ] ; then \
-  export ROOT=%{hue_dir} \
-  export DESKTOP_LOGLEVEL=WARN \
-  export DESKTOP_LOG_DIR=/var/log/hue \
-  if [ -e $ENV_PYTHON ] ; then \
-    %{hue_dir}/build/env/bin/python %{hue_dir}/tools/app_reg/app_reg.py 
--remove %1 ||: \
-  fi \
-  find %{apps_dir}/%1 -name \*.egg-info -type f -print0 | xargs -0 /bin/rm -fR 
  \
-fi \
-find %{apps_dir}/%1 -iname \*.py[co] -type f -print0 | xargs -0 /bin/rm -f \
-chown -R hue:hue /var/log/hue /var/lib/hue || :
-
-%description
-Hue is a browser-based desktop interface for interacting with Hadoop.
-It supports a file browser, job tracker interface, cluster health monitor, and 
more.
-
-%files -n hue
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
-
-%prep
-%setup -n %{name}-release-%{hue_base_version}
-
-#BIGTOP_PATCH_COMMANDS
-
-########################################
-# Build
-########################################
-%build
-env FULL_VERSION=%{hue_base_version} bash -x %{SOURCE3}  
-
-########################################
-# Install
-########################################
-%install
-bash -x %{SOURCE4} --prefix=$RPM_BUILD_ROOT --build-dir=${PWD}
-
-%if  %{?suse_version:1}0
-orig_init_file=$RPM_SOURCE_DIR/%{name}.init.suse
-%else
-orig_init_file=$RPM_SOURCE_DIR/%{name}.init
-%endif
-
-# TODO maybe dont need this line anymore:
-%__install -d -m 0755 $RPM_BUILD_ROOT/%{initd_dir}
-cp $orig_init_file $RPM_BUILD_ROOT/%{initd_dir}/hue
-
-#### PLUGINS ######
-
-%package -n %{name}-common
-Summary: A browser-based desktop interface for Hadoop
-BuildRequires: gcc, gcc-c++
-BuildRequires: libxml2-devel, libxslt-devel, zlib-devel, libyaml-devel
-BuildRequires: cyrus-sasl-devel
-BuildRequires: openssl-devel
-BuildRequires: krb5-devel
-BuildRequires: asciidoc
-BuildRequires: gmp-devel
-BuildRequires: libffi-devel
-Group: Applications/Engineering
-Requires: cyrus-sasl-gssapi, libxml2, libxslt, zlib, sqlite, libyaml, gmp, 
python, libffi
-# The only reason we need the following is because we also have AutoProv: no
-Provides: config(%{name}-common) = %{version}
-
-%if  %{?suse_version:1}0
-BuildRequires: sqlite3-devel, openldap2-devel, libmysqlclient-devel, 
libopenssl-devel
-# Required for init scripts
-Requires: insserv, python-xml
-%else
-BuildRequires: /sbin/runuser, sqlite-devel, openldap-devel, mysql-devel, 
openssl-devel
-# Required for init scripts
-Requires: /lib/lsb/init-functions
-BuildRequires: python-devel, python-setuptools
-%endif
-
-# Disable automatic Provides generation - otherwise we will claim to provide 
all of the
-# .so modules that we install inside our private lib directory, which will 
falsely
-# satisfy dependencies for other RPMs on the target system.
-AutoReqProv: no
-
-%description -n %{name}-common
-Hue is a browser-based desktop interface for interacting with Hadoop.
-It supports a file browser, job tracker interface, cluster health monitor, and 
more.
-
-########################################
-# Preinstall
-########################################
-%pre -n %{name}-common -p /bin/bash
-getent group %{username} 2>/dev/null >/dev/null || /usr/sbin/groupadd -r 
%{username}
-getent passwd %{username} 2>&1 > /dev/null || /usr/sbin/useradd -c "Hue" -s 
/sbin/nologin -g %{username} -r -d %{hue_dir} %{username} 2> /dev/null || :
-
-########################################
-# Postinstall
-########################################
-%post -n %{name}-common -p /bin/bash
-
-%{alternatives_cmd} --install %{etc_hue} hue-conf %{etc_hue}.empty 30
-
-# If there is an old DB in place, make a backup.
-if [ -e %{hue_dir}/desktop/desktop.db ]; then
-  echo "Backing up previous version of Hue database..."
-  cp -a %{hue_dir}/desktop/desktop.db 
%{hue_dir}/desktop/desktop.db.rpmsave.$(date +'%Y%m%d.%H%M%S')
-fi
-
-%preun -n %{name}-common -p /bin/bash
-if [ "$1" = 0 ]; then
-        %{alternatives_cmd} --remove hue-conf %{etc_hue}.empty || :
-fi
-
-
-########################################
-# Post-uninstall
-########################################
-%postun -n %{name}-common -p /bin/bash
-
-if [ -d %{hue_dir} ]; then
-  find %{hue_dir} -name \*.py[co] -exec rm -f {} \;
-fi
-
-if [ $1 -eq 0 ]; then
-  # TODO this seems awfully aggressive
-  # NOTE  Despite dependency, hue-common could get removed before the apps are.
-  #       We should remove app.reg because apps won't have a chance to
-  #       unregister themselves.
-  rm -Rf %{hue_dir}/desktop %{hue_dir}/build %{hue_dir}/pids %{hue_dir}/app.reg
-fi
-
-
-%files -n %{name}-common
-%defattr(-,root,root)
-%attr(0755,root,root) %config(noreplace) %{etc_hue}.empty 
-%dir %{hue_dir}
-%{hue_dir}/desktop
-%{hue_dir}/ext
-%{hue_dir}/LICENSE.txt
-%{hue_dir}/Makefile
-%{hue_dir}/Makefile.buildvars
-%{hue_dir}/Makefile.sdk
-%{hue_dir}/Makefile.vars
-%{hue_dir}/Makefile.vars.priv
-%{hue_dir}/README.md
-%{hue_dir}/tools
-%{hue_dir}/VERSION
-%{hue_dir}/build/env/bin/*
-%{hue_dir}/build/env/include/
-%{hue_dir}/build/env/lib/
-%{hue_dir}/build/env/lib64
-%{hue_dir}/build/env/stamp
-%{hue_dir}/app.reg
-%{hue_dir}/apps/Makefile
-%dir %{hue_dir}/apps
-# Hue core apps
-%{about_app_dir}
-%{filebrowser_app_dir}
-%{help_app_dir}
-%{jobbrowser_app_dir}
-%{jobsub_app_dir}
-%{proxy_app_dir}
-%{useradmin_app_dir}
-%{metastore_app_dir}
-%{oozie_app_dir}
-%attr(0755,%{username},%{username}) /var/log/hue
-%attr(0755,%{username},%{username}) /var/lib/hue
-
-# these apps are packaged as a plugin app
-%exclude %{beeswax_app_dir}
-%exclude %{impala_app_dir}
-%exclude %{security_app_dir}
-%exclude %{pig_app_dir}
-%exclude %{hbase_app_dir}
-%exclude %{sqoop_app_dir}
-%exclude %{search_app_dir}
-%exclude %{rdbms_app_dir}
-%exclude %{spark_app_dir}
-%exclude %{zookeeper_app_dir}
-%exclude %{useradmin_app_dir}
-
-
-############################################################
-# No-arch packages - plugins and conf
-############################################################
-
-#### Service Scripts ######
-%package -n %{name}-server
-Summary: Service Scripts for Hue
-Requires: %{name}-common = %{version}-%{release}
-Requires: /sbin/chkconfig
-Group: Applications/Engineering
-
-%description -n %{name}-server
-
-This package provides the service scripts for Hue server.
-
-%files -n %{name}-server
-%attr(0755,root,root) %{initd_dir}/hue
-
-# Install and start init scripts
-
-%post -n %{name}-server 
-/sbin/chkconfig --add hue
-
-# Documentation
-%package -n %{name}-doc
-Summary: Documentation for Hue
-Group: Documentation
-
-%description -n %{name}-doc
-This package provides the installation manual, user guide, SDK documentation, 
and release notes.
-
-%files -n %{name}-doc
-%attr(0755,root,root) /usr/share/doc/hue
-
-########################################
-# Pre-uninstall
-########################################
-
-%preun  -n %{name}-server 
-if [ $1 = 0 ] ; then 
-        service %{name} stop > /dev/null 2>&1 
-        chkconfig --del %{name} 
-fi 
-%postun  -n %{name}-server
-if [ $1 -ge 1 ]; then 
-        service %{name} condrestart >/dev/null 2>&1 
-fi
-#### HUE-IMPALA PLUGIN ######
-%package -n %{name}-impala
-Summary: A UI for Impala on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}, make
-
-%description -n %{name}-impala
-Beeswax is a web interface for Impala.
-
-It allows users to construct and run queries on Imapala, manage tables,
-and import and export data.
-
-%app_post_macro impala
-%app_preun_macro impala
-
-%files -n %{name}-impala
-%defattr(-, %{username}, %{username})
-%{impala_app_dir}
-
-
-#### HUE-BEESWAX PLUGIN ######
-%package -n %{name}-beeswax
-Summary: A UI for Hive on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}, make
-
-%description -n %{name}-beeswax
-Beeswax is a web interface for Hive.
-
-It allows users to construct and run queries on Hive, manage tables,
-and import and export data.
-
-%app_post_macro beeswax
-%app_preun_macro beeswax
-
-%files -n %{name}-beeswax
-%defattr(-, %{username}, %{username})
-%{beeswax_app_dir}
-
-#### HUE-PIG PLUGIN ######
-%package -n %{name}-pig
-Summary: A UI for Pig on Hue
-Group: Applications/Engineering
-Requires: make
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-pig
-A web interface for Pig.
-
-It allows users to construct and run Pig jobs.
-
-%app_post_macro pig
-%app_preun_macro pig
-
-%files -n %{name}-pig
-%{pig_app_dir}
-
-#### HUE-HBASE PLUGIN ######
-%package -n %{name}-hbase
-Summary: A UI for HBase on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-hbase
-A web interface for HBase.
-
-It allows users to construct and run HBase queries.
-
-%app_post_macro hbase
-%app_preun_macro hbase
-
-%files -n %{name}-hbase
-%defattr(-, %{username}, %{username})
-%{hbase_app_dir}
-
-#### HUE-SQOOP PLUGIN ######
-%package -n %{name}-sqoop
-Summary: A UI for Sqoop on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-sqoop
-A web interface for Sqoop.
-
-%app_post_macro sqoop
-%app_preun_macro sqoop
-
-%files -n %{name}-sqoop
-%defattr(-, %{username}, %{username})
-%{sqoop_app_dir}
-
-#### HUE-SEARCH PLUGIN ######
-%package -n %{name}-search
-Summary: A UI for Search on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-search
-A web interface for Search.
-
-It allows users to interact with Solr
-
-%app_post_macro search
-%app_preun_macro search
-
-%files -n %{name}-search
-%defattr(-, %{username}, %{username})
-%{search_app_dir}
-
-#### HUE-RDBMS PLUGIN ######
-%package -n %{name}-rdbms
-Summary: A UI for RDBMS on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-rdbms
-A web interface for RDBMS.
-
-It allows users to interact with RDBMS
-
-%app_post_macro rdbms
-%app_preun_macro rdbms
-
-%files -n %{name}-rdbms
-%defattr(-, %{username}, %{username})
-%{rdbms_app_dir}
-
-#### HUE-SECURITY PLUGIN ######
-%package -n %{name}-security
-Summary: A UI for Security and Roles on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-security
-A web interface for Roles and Security.
-
-It allows users to interact with Roles and Security
-
-%app_post_macro security
-%app_preun_macro security
-
-%files -n %{name}-security
-%defattr(-, %{username}, %{username})
-%{security_app_dir}
-
-#### HUE-USERADMIN PLUGIN ######
-%package -n %{name}-useradmin
-Summary: A UI for Hue user administration
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-useradmin
-A web interface for Hue user administration
-
-It allows for Hue user administration
-
-%app_post_macro useradmin
-%app_preun_macro useradmin
-
-%files -n %{name}-useradmin
-%defattr(-, %{username}, %{username})
-%{useradmin_app_dir}
-
-#### HUE-SPARK PLUGIN ######
-%package -n %{name}-spark
-Summary: A UI for Spark on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-spark
-A web interface for Spark.
-
-It allows users to interact with Spark
-
-%app_post_macro spark
-%app_preun_macro spark
-
-%files -n %{name}-spark
-%defattr(-, %{username}, %{username})
-%{spark_app_dir}
-
-#### HUE-ZOOKEEPER PLUGIN ######
-%package -n %{name}-zookeeper
-Summary: A UI for Zookeeper on Hue
-Group: Applications/Engineering
-Requires: %{name}-common = %{version}-%{release}
-
-%description -n %{name}-zookeeper
-A web interface for Zookeeper.
-
-It allows users to interact with Zookeeper
-
-%app_post_macro zookeeper
-%app_preun_macro zookeeper
-
-%files -n %{name}-zookeeper
-%defattr(-, %{username}, %{username})
-%{zookeeper_app_dir}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/23582dc0/bigtop-packages/src/rpm/hue/SRPMS/.gitignore
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hue/SRPMS/.gitignore 
b/bigtop-packages/src/rpm/hue/SRPMS/.gitignore
deleted file mode 100644
index e69de29..0000000

Reply via email to