[ 
https://issues.apache.org/jira/browse/HADOOP-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844619#action_12844619
 ] 

Doug Cutting commented on HADOOP-6630:
--------------------------------------

Allen, if BASH_SOURCE contains the full path, then can we get rid of the 
'bin=`cd "$bin"; pwd`' that follows each of these, since the point of that is 
to get the full path of the bin directory?


> hadoop-config.sh fails to get executed if hadoop wrapper scripts are in path
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-6630
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6630
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Allen Wittenauer
>         Attachments: HADOOP-6630.txt
>
>
> If the hadoop/bin commands are in the path, hadoop-config.sh doesn't executed 
> until much later in the stack because $0 lacks a path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to