Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-174

GnuWin32 coreutils df output causes DF to throw

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The output from GnuWin32's coreutils's df looks like this:

      C:\Program Files\GnuWin32\bin>df -k "C:\hadoop-0.13.0"
      Filesystem 1K-blocks Used Available Use% Mounted on
      df: `NTFS': No such file or directory

      • 96124924 86288848 9836076 90% C:\

      This causes DF's parsing to fail with the following exception:

      Exception in thread "main" java.io.IOException: df: `NTFS': No such file or directory
      at org.apache.hadoop.fs.DF.doDF(DF.java:65)
      at org.apache.hadoop.fs.DF.<init>(DF.java:54)
      at org.apache.hadoop.fs.DF.main(DF.java:168)

      Fixing this would be useful since it might allow for Hadoop to be used without installing Cygwin.

        Activity

        Hide
        Harsh J added a comment -

        HDFS currently has proper Windows environment support without relying on local unix-like tools to be available.

        Resolving as 'Not a Problem' (anymore).

        Show
        Harsh J added a comment - HDFS currently has proper Windows environment support without relying on local unix-like tools to be available. Resolving as 'Not a Problem' (anymore).

          People

          • Assignee:
            Unassigned
            Reporter:
            Albert Strasheim
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development