FAQ
CLASSPATH in bin/hadoop script is set incorrectly for cygwin
------------------------------------------------------------

Key: HADOOP-3901
URL: https://issues.apache.org/jira/browse/HADOOP-3901
Project: Hadoop Core
Issue Type: Bug
Components: scripts
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE


In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.

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

Search Discussions

  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 5, 2008 at 7:01 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-3901:
    -------------------------------------------

    Attachment: 3901_20080805.patch

    3901_20080805.patch: rearranged the codes in the script
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 5, 2008 at 8:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-3901:
    -------------------------------------------

    Status: Patch Available (was: Open)
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 5, 2008 at 8:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620026#action_12620026 ]

    Tsz Wo (Nicholas), SZE commented on HADOOP-3901:
    ------------------------------------------------

    Passed all tests locally and manually tested the script. Everything seems fine. Submitting ...
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Owen O'Malley (JIRA) at Aug 5, 2008 at 9:47 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Owen O'Malley updated HADOOP-3901:
    ----------------------------------

    Status: Open (was: Patch Available)

    You can't remove the set/unset for IFS. It is required to process directories with spaces in the for loops.
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 5, 2008 at 9:51 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-3901:
    -------------------------------------------

    Attachment: 3901_20080805b.patch

    3901_20080805b.patch: reverted the IFS changes
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 6, 2008 at 1:09 am
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-3901:
    -------------------------------------------

    Status: Patch Available (was: Open)

    only changed the script no new tests added.
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Aug 6, 2008 at 4:03 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620297#action_12620297 ]

    Hadoop QA commented on HADOOP-3901:
    -----------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12387596/3901_20080805b.patch
    against trunk revision 682978.

    +1 @author. The patch does not contain any @author tags.

    -1 tests included. The patch doesn't appear to include any new or modified tests.
    Please justify why no tests are needed for this patch.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    +1 release audit. The applied patch does not increase the total number of release audit warnings.

    +1 core tests. The patch passed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3018/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3018/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3018/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3018/console

    This message is automatically generated.
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Aug 6, 2008 at 5:53 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE updated HADOOP-3901:
    -------------------------------------------

    Priority: Blocker (was: Major)
    Fix Version/s: 0.18.0

    promote this to 0.18 blocker
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Priority: Blocker
    Fix For: 0.18.0

    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Owen O'Malley (JIRA) at Aug 6, 2008 at 7:03 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Owen O'Malley updated HADOOP-3901:
    ----------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]
    Status: Resolved (was: Patch Available)

    I just committed this. Thanks, Nicholas!
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Priority: Blocker
    Fix For: 0.18.0

    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Aug 22, 2008 at 12:39 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624743#action_12624743 ]

    Hudson commented on HADOOP-3901:
    --------------------------------

    Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])
    CLASSPATH in bin/hadoop script is set incorrectly for cygwin
    ------------------------------------------------------------

    Key: HADOOP-3901
    URL: https://issues.apache.org/jira/browse/HADOOP-3901
    Project: Hadoop Core
    Issue Type: Bug
    Components: scripts
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Tsz Wo (Nicholas), SZE
    Priority: Blocker
    Fix For: 0.18.0

    Attachments: 3901_20080805.patch, 3901_20080805b.patch


    In Cygwin, paths are required to be translated by cygpath. In the bin/hadoop script, the CLASSPATH variable may be modified after cygpath translation. In such case, CLASSPATH will be set incorrectly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedAug 5, '08 at 6:47p
activeAug 22, '08 at 12:39p
posts11
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 11 posts

People

Translate

site design / logo © 2022 Grokbase