You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Nicolas Spiegelberg (JIRA)" <ji...@apache.org> on 2010/07/06 23:49:53 UTC

[jira] Created: (HADOOP-6851) Fix '$bin' path duplication in setup scripts

Fix '$bin' path duplication in setup scripts
--------------------------------------------

                 Key: HADOOP-6851
                 URL: https://issues.apache.org/jira/browse/HADOOP-6851
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
            Reporter: Nicolas Spiegelberg
            Priority: Trivial
             Fix For: 0.21.0, 0.22.0, 0.20-append


I have my bash environment setup to echo absolute pathnames when a relative one is specified in 'cd'. This caused problems with all the Hadoop bash scripts because the script accidentally sets the $bin variable twice in this setup. (e.g. would set $bin="/path/bin/hadoop\n/path/bin/hadoop").

This jira is for common scripts.  I filed a separate jira for HDFS scripts, which share the same pattern.

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


[jira] Updated: (HADOOP-6851) Fix '$bin' path duplication in setup scripts

Posted by "Nicolas Spiegelberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Spiegelberg updated HADOOP-6851:
----------------------------------------

    Attachment: HADOOP-6851-0.22.patch

> Fix '$bin' path duplication in setup scripts
> --------------------------------------------
>
>                 Key: HADOOP-6851
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6851
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Nicolas Spiegelberg
>            Priority: Trivial
>             Fix For: 0.21.0, 0.22.0, 0.20-append
>
>         Attachments: HADOOP-6851-0.22.patch
>
>
> I have my bash environment setup to echo absolute pathnames when a relative one is specified in 'cd'. This caused problems with all the Hadoop bash scripts because the script accidentally sets the $bin variable twice in this setup. (e.g. would set $bin="/path/bin/hadoop\n/path/bin/hadoop").
> This jira is for common scripts.  I filed a separate jira for HDFS scripts, which share the same pattern.

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


[jira] Commented: (HADOOP-6851) Fix '$bin' path duplication in setup scripts

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904007#action_12904007 ] 

Eli Collins commented on HADOOP-6851:
-------------------------------------

Isn't this a dupe of HADOOP-6101? I don't see how the bin scripts hit this since they don't appear to use relative paths.

> Fix '$bin' path duplication in setup scripts
> --------------------------------------------
>
>                 Key: HADOOP-6851
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6851
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Nicolas Spiegelberg
>            Priority: Trivial
>             Fix For: 0.21.1, 0.22.0, 0.20-append
>
>         Attachments: HADOOP-6851-0.22.patch
>
>
> I have my bash environment setup to echo absolute pathnames when a relative one is specified in 'cd'. This caused problems with all the Hadoop bash scripts because the script accidentally sets the $bin variable twice in this setup. (e.g. would set $bin="/path/bin/hadoop\n/path/bin/hadoop").
> This jira is for common scripts.  I filed a separate jira for HDFS scripts, which share the same pattern.

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