[
https://issues.apache.org/jira/browse/HADOOP-8795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455131#comment-13455131
]
Hudson commented on HADOOP-8795:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2753 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2753/])
HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to
executable is specified. Contributed by Sean Mackrory. (Revision 1384436)
Result = FAILURE
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1384436
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion/hadoop.sh
> BASH tab completion doesn't look in PATH, assumes path to executable is
> specified
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-8795
> URL: https://issues.apache.org/jira/browse/HADOOP-8795
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.0.0-alpha
> Reporter: Sean Mackrory
> Assignee: Sean Mackrory
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: HADOOP-8795.patch
>
>
> bash-tab-completion/hadoop.sh checks that the first token in the command is
> an existing, executable file - which assumes that the path to the hadoop
> executable is specified (or that it's in the working directory). If the
> executable is somewhere else in PATH, tab completion will not work.
> I propose that the first token be passed through 'which' so that any
> executables in the path also get detected. I've tested that this technique
> will work in the event that relative and absolute paths are used as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira