hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1384445 - in /hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common: CHANGES.txt src/contrib/bash-tab-completion/hadoop.sh
Date Thu, 13 Sep 2012 18:02:46 GMT
Author: atm
Date: Thu Sep 13 18:02:46 2012
New Revision: 1384445

URL: http://svn.apache.org/viewvc?rev=1384445&view=rev
Log:
HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to executable is specified.
Contributed by Sean Mackrory.

Modified:
    hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
    hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh

Modified: hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1384445&r1=1384444&r2=1384445&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt Thu Sep
13 18:02:46 2012
@@ -18,8 +18,11 @@ Release 2.0.3-alpha - Unreleased
 
   BUG FIXES 
 
-   HADOOP-7688. When a servlet filter throws an exception in init(..), the Jetty server failed
silently.
-   (umamahesh)
+    HADOOP-7688. When a servlet filter throws an exception in init(..), the
+    Jetty server failed silently. (umamahesh)
+
+    HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to
+    executable is specified. (Sean Mackrory via atm)
 
 Release 2.0.2-alpha - 2012-09-07 
 

Modified: hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh?rev=1384445&r1=1384444&r2=1384445&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh
(original)
+++ hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh
Thu Sep 13 18:02:46 2012
@@ -26,7 +26,7 @@ _hadoop() {
   COMPREPLY=()
   cur=${COMP_WORDS[COMP_CWORD]}
   prev=${COMP_WORDS[COMP_CWORD-1]}  
-  script=${COMP_WORDS[0]}  
+  script=`which ${COMP_WORDS[0]}`
   
   # Bash lets you tab complete things even if the script doesn't
   # exist (or isn't executable). Check to make sure it is, as we



Mime
View raw message