Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5209

Provide Windows Stat() implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • None
    • None

    Description

      hadoop.fs.Stat class only support Linux and FreeBSD because it uses the command 'stat' which is not readily available on Windows. This does not breaking any functionality at the moment because we will fall back to the deprecatedGetFileStatus() method when the former is not available. We should be able to provide a stat command in 'winutils' to make Stat support Windows.

      The unit test TestStat also fails on Windows due to this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chuanliu Chuan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: