You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/09/14 20:35:51 UTC

[jira] [Created] (HDFS-5209) Provide Windows Stat() implementation

Chuan Liu created HDFS-5209:
-------------------------------

             Summary: Provide Windows Stat() implementation
                 Key: HDFS-5209
                 URL: https://issues.apache.org/jira/browse/HDFS-5209
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Chuan Liu
            Priority: Minor


{{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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira