Hadoop Common
  1. Hadoop Common
  2. HADOOP-3539

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.18.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      Cygwin

    • Hadoop Flags:
      Reviewed

      Description

      • When running ./bin/hadoop in cygwin, we see an error message from cypath.
        For example,
        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
        ...
        
      • The output message is confusing for incorrect commands.
        For example,
        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$ 
        
      1. 3539_20080617.patch
        0.5 kB
        Tsz Wo Nicholas Sze

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development