Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3539

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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$ 
        

        Attachments

        1. 3539_20080617.patch
          0.5 kB
          Tsz Wo Nicholas Sze

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: