hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6630) hadoop-config.sh fails to get executed if hadoop wrapper scripts are in path
Date Fri, 12 Mar 2010 00:56:27 GMT

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

Allen Wittenauer commented on HADOOP-6630:
------------------------------------------

Since we require bash, we can cheat a bit. BASH_SOURCE should contain the full path to the
script that we are executing. This means we can piggyback off of that variable to figure out
where our real landing path is at.

> 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
>
> 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.


Mime
View raw message