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

Reply via email to