[ https://issues.apache.org/jira/browse/HADOOP-18188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514459#comment-17514459 ]
Viraj Jasani commented on HADOOP-18188: --------------------------------------- I mean if some application expects PathIsDirectoryException to be thrown for touch command used with directory, from that viewpoint this behaviour change might be treated as incompatible? Regardless, I agree with supporting directory with touch command. > 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 > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org