From 7b2f77dd253a5f70545b35dbfb224791bf51b1f2 Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Wed, 3 Apr 2013 09:30:55 -0700 Subject: BIGTOP-832. Bump version of Hue to 2.3.0 --- bigtop-packages/src/deb/hue/control | 18 +++++++++--------- bigtop-packages/src/deb/hue/hue-app.prerm.tpl | 2 +- bigtop-packages/src/deb/hue/hue-pig.install | 1 + bigtop-packages/src/deb/hue/rules | 5 ++++- 4 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 bigtop-packages/src/deb/hue/hue-pig.install (limited to 'bigtop-packages/src/deb/hue') diff --git a/bigtop-packages/src/deb/hue/control b/bigtop-packages/src/deb/hue/control index a30f05a1..582ee816 100644 --- a/bigtop-packages/src/deb/hue/control +++ b/bigtop-packages/src/deb/hue/control @@ -29,17 +29,9 @@ Description: A browser-based desktop interface for Hadoop Hue is a browser-based desktop interface for interacting with Hadoop. It supports a file browser, job tracker interface, cluster health monitor, and more. -# FIXME: Hue plugins don't yet quite work with Hadoop 2.X -#Package: hue-plugins -#Architecture: all -#Depends: hadoop, bigtop-utils (>= 0.6) -#Description: Plug-ins for Hadoop to enable integration with Hue -# These plug-ins enable the Hadoop Daemons to communicate with Hue. -# This package must be installed on every node in the Hadoop cluster. - Package: hue Architecture: all -Depends: hue-common (= ${source:Version}), hue-server (= ${source:Version}), hue-beeswax (= ${source:Version}), hue-oozie (= ${source:Version}) +Depends: hue-common (= ${source:Version}), hue-server (= ${source:Version}), hue-beeswax (= ${source:Version}), hue-oozie (= ${source:Version}), hue-pig (= ${source:Version}) Description: The hue metapackage Hue is a browser-based desktop interface for interacting with Hadoop. It supports a file browser, job tracker interface, cluster health monitor, and more. @@ -67,3 +59,11 @@ Description: A UI for Oozie on Hue . It allows users to construct and run Oozie workflows without explicitly managing the XML specification. +Package: hue-pig +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.4), python (<< 3), make (>= 3.8), hue-common (= ${source:Version}) +Description: A UI for Pig on Hue + A web interface for Pig. + . + It allows users to construct and run Pig jobs. + diff --git a/bigtop-packages/src/deb/hue/hue-app.prerm.tpl b/bigtop-packages/src/deb/hue/hue-app.prerm.tpl index 4b96c040..a61c8389 100644 --- a/bigtop-packages/src/deb/hue/hue-app.prerm.tpl +++ b/bigtop-packages/src/deb/hue/hue-app.prerm.tpl @@ -43,7 +43,7 @@ case "$1" in fi find $APP_DIR -name \*.py[co] -exec rm -f {} \; ||: find $APP_DIR -name \*.egg-info -prune -exec rm -Rf {} \; ||: - chown -R hue:hue /var/log/hue /var/lib/hue + chown -R hue:hue /var/log/hue /var/lib/hue || : ;; failed-upgrade) diff --git a/bigtop-packages/src/deb/hue/hue-pig.install b/bigtop-packages/src/deb/hue/hue-pig.install new file mode 100644 index 00000000..7ec7a317 --- /dev/null +++ b/bigtop-packages/src/deb/hue/hue-pig.install @@ -0,0 +1 @@ +/usr/lib/hue/apps/pig diff --git a/bigtop-packages/src/deb/hue/rules b/bigtop-packages/src/deb/hue/rules index f15b80f3..a4fbd4c7 100755 --- a/bigtop-packages/src/deb/hue/rules +++ b/bigtop-packages/src/deb/hue/rules @@ -23,7 +23,7 @@ # Implicit targets SHELL := /bin/bash -APPS=beeswax oozie +APPS=beeswax oozie pig $(APPS:%=debian/hue-%.postinst): debian/hue-app.postinst.tpl sed -e 's#@APP@#$(patsubst debian/hue-%.postinst,%,$@)#' < $< > $@ @@ -44,3 +44,6 @@ override_dh_auto_install: build $(APPS:%=debian/hue-%.postinst) $(APPS:%=debian/ override_dh_installinit: dh_installinit --name=hue + +override_dh_auto_test: + @echo Tests are disabled -- cgit v1.2.3