[
https://issues.apache.org/jira/browse/HADOOP-18188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515229#comment-17515229
]
Viraj Jasani commented on HADOOP-18188:
---------------------------------------
{quote}be interesting to see which filesystems don't like this
{quote}
Filesystems that don't implement fs#setTimes are the ones that don't support
touch command anyways (for files), and that would be the same case with this
improvement as well (for dirs).
> Support touch command for directory
> -----------------------------------
>
> Key: HADOOP-18188
> URL: https://issues.apache.org/jira/browse/HADOOP-18188
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Akira Ajisaka
> Assignee: Viraj Jasani
> Priority: Major
>
> Currently hadoop fs -touch command cannot update the mtime and the atime of
> directory. The feature would be useful when we check whether the filesystem
> is ready to write or not without creating any file.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]