bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1384645 - in /incubator/bigtop/trunk/bigtop-packages/src: common/hadoop/install_hadoop.sh deb/hadoop/hadoop.install rpm/hadoop/SPECS/hadoop.spec
Date Fri, 14 Sep 2012 04:38:46 GMT
Author: bmahe
Date: Fri Sep 14 04:38:46 2012
New Revision: 1384645

URL: http://svn.apache.org/viewvc?rev=1384645&view=rev
Log:
BIGTOP-701. Bigtop Hadoop package does not include bash tab completion (Sean Mackrory via
Bruno Mahé)

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
    incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.install
    incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1384645&r1=1384644&r2=1384645&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Fri Sep 14
04:38:46 2012
@@ -153,6 +153,7 @@ SYSTEM_LIBEXEC_DIR=${SYSTEM_LIBEXEC_DIR:
 EXAMPLE_DIR=${EXAMPLE_DIR:-$DOC_DIR/examples}
 HADOOP_ETC_DIR=${HADOOP_ETC_DIR:-$PREFIX/etc/hadoop}
 HTTPFS_ETC_DIR=${HTTPFS_ETC_DIR:-$PREFIX/etc/hadoop-httpfs}
+BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:-$PREFIX/etc/bash_completion.d}
 
 INSTALLED_HADOOP_DIR=${INSTALLED_HADOOP_DIR:-/usr/lib/hadoop}
 HADOOP_NATIVE_LIB_DIR=${HADOOP_DIR}/lib/native
@@ -298,6 +299,11 @@ EOF
 
 chmod 755 $fuse_wrapper
 
+# Bash tab completion
+install -d -m 0755 $BASH_COMPLETION_DIR
+install -m 0644 \
+  hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh \
+  $BASH_COMPLETION_DIR/hadoop
 
 # conf
 install -d -m 0755 $HADOOP_ETC_DIR/conf.empty

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.install
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.install?rev=1384645&r1=1384644&r2=1384645&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.install (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.install Fri Sep 14 04:38:46
2012
@@ -6,6 +6,7 @@
 /etc/hadoop/conf.empty/ssl-server.xml.example
 /etc/hadoop/conf.empty/core-site.xml
 /etc/default/hadoop
+/etc/bash_completion.d/hadoop
 /usr/lib/hadoop/etc
 /usr/lib/hadoop/libexec/hadoop-config.sh
 /usr/lib/hadoop/libexec/hadoop-layout.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec?rev=1384645&r1=1384644&r2=1384645&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec Fri Sep 14 04:38:46
2012
@@ -605,6 +605,7 @@ fi
 %config(noreplace) %{etc_hadoop}/conf.empty/ssl-client.xml.example
 %config(noreplace) %{etc_hadoop}/conf.empty/ssl-server.xml.example
 %config(noreplace) /etc/default/hadoop
+/etc/bash_completion.d/hadoop
 %{lib_hadoop}/*.jar
 %{lib_hadoop}/lib
 %{lib_hadoop}/sbin



Mime
View raw message