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 "Jianbin Wei (JIRA)" <ji...@apache.org> on 2012/08/28 07:06:07 UTC

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

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

Jianbin Wei commented on HADOOP-6851:
-------------------------------------

Hi Lane, you may want to reattach a new patch and click the "submit patch" to kick off the automatic hadoop QA process.  In my machine, I got patch apply failure.


⚡ dev-support/test-patch.sh ~/Downloads/HADOOP-6851-0.22.patch 
Running in developer mode


======================================================================
======================================================================
    Testing patch for HADOOP-6851-0.22.patch.
======================================================================
======================================================================



Patch file /Users/jianbwei/Downloads/HADOOP-6851-0.22.patch copied to /tmp
The patch does not appear to apply with p0 to p2
PATCH APPLICATION FAILED




-1 overall.  

    -1 patch.  The patch command could not apply the patch.




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================

                
> 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
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira