[
https://issues.apache.org/jira/browse/HDFS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125416#comment-13125416
]
Tsz Wo (Nicholas), SZE commented on HDFS-2436:
----------------------------------------------
This is not webhdfs specific. DistributedFileSystem.setTime(..) also won't
work for directories. FSNamesystem.setTimes(..) somehow expects the path is a
file.
> webhdfs settimes api returns a 404 when called on a dir
> -------------------------------------------------------
>
> Key: HDFS-2436
> URL: https://issues.apache.org/jira/browse/HDFS-2436
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.20.205.0
> Reporter: Arpit Gupta
>
> settimes api is working when called on a file, but when called on a dir it
> returns a 404. I should be able to set time on both a file and a directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira