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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.18.0
    • scripts
    • None
    • Cygwin

    • 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 Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: