FAQ
Cygwin: cygpath displays an error message in running bin/hadoop script
----------------------------------------------------------------------

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


- When running ./bin/hadoop in cygwin, we see an error message from cypath.
For example,
{noformat}
bash-3.2$ ./bin/hadoop namenode -format
cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
...
{noformat}

- The output message is confusing for incorrect commands.
For example,
{noformat}
bash-3.2$ ./bin/hadoop foo
cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
java.lang.NoClassDefFoundError: foo
Exception in thread "main" bash-3.2$
{noformat}


--
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 Jun 11, 2008 at 9:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604349#action_12604349 ]

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

    As a consequence, tools like distcp cannot be executed in cygwin by "bin/hadoop distcp ...".
    Cygwin: cygpath displays an error message in running bin/hadoop script
    ----------------------------------------------------------------------

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


    - When running ./bin/hadoop in cygwin, we see an error message from cypath.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop namenode -format
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    ...
    {noformat}
    - The output message is confusing for incorrect commands.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop foo
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    java.lang.NoClassDefFoundError: foo
    Exception in thread "main" bash-3.2$
    {noformat}
    --
    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 Jun 17, 2008 at 12:38 am
    [ https://issues.apache.org/jira/browse/HADOOP-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Tsz Wo (Nicholas), SZE reassigned HADOOP-3539:
    ----------------------------------------------

    Assignee: Tsz Wo (Nicholas), SZE
    Cygwin: cygpath displays an error message in running bin/hadoop script
    ----------------------------------------------------------------------

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


    - When running ./bin/hadoop in cygwin, we see an error message from cypath.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop namenode -format
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    ...
    {noformat}
    - The output message is confusing for incorrect commands.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop foo
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    java.lang.NoClassDefFoundError: foo
    Exception in thread "main" bash-3.2$
    {noformat}
    --
    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 Jun 17, 2008 at 10:39 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 3539_20080617.patch

    3539_20080617.patch: fixed the hadoop script
    Cygwin: cygpath displays an error message in running bin/hadoop script
    ----------------------------------------------------------------------

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

    Attachments: 3539_20080617.patch


    - When running ./bin/hadoop in cygwin, we see an error message from cypath.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop namenode -format
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    ...
    {noformat}
    - The output message is confusing for incorrect commands.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop foo
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    java.lang.NoClassDefFoundError: foo
    Exception in thread "main" bash-3.2$
    {noformat}
    --
    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 Jun 17, 2008 at 10:53 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Owen O'Malley resolved HADOOP-3539.
    -----------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]

    I just committed this patch. Thanks, Nicholas!
    Cygwin: cygpath displays an error message in running bin/hadoop script
    ----------------------------------------------------------------------

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

    Attachments: 3539_20080617.patch


    - When running ./bin/hadoop in cygwin, we see an error message from cypath.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop namenode -format
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    ...
    {noformat}
    - The output message is confusing for incorrect commands.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop foo
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    java.lang.NoClassDefFoundError: foo
    Exception in thread "main" bash-3.2$
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Jun 18, 2008 at 1:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605941#action_12605941 ]

    Hudson commented on HADOOP-3539:
    --------------------------------

    Integrated in Hadoop-trunk #522 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/522/])
    Cygwin: cygpath displays an error message in running bin/hadoop script
    ----------------------------------------------------------------------

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

    Attachments: 3539_20080617.patch


    - When running ./bin/hadoop in cygwin, we see an error message from cypath.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop namenode -format
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    ...
    {noformat}
    - The output message is confusing for incorrect commands.
    For example,
    {noformat}
    bash-3.2$ ./bin/hadoop foo
    cygpath: cannot create short name of :\cygdrive\d\@sze\hadoop\latest\hadoop-*-tools.jar:\cygdrive\d\@sze\hadoop\latest\build\hadoop-*-tools.jar
    java.lang.NoClassDefFoundError: foo
    Exception in thread "main" bash-3.2$
    {noformat}
    --
    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
postedJun 11, '08 at 9:29p
activeJun 18, '08 at 1:43p
posts6
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 6 posts

People

Translate

site design / logo © 2022 Grokbase