[
https://issues.apache.org/jira/browse/HADOOP-7193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604116#comment-13604116
]
Radek Skokan commented on HADOOP-7193:
--------------------------------------
Hi guys, it seems that hadoop-1.0.4 still has the old help message text:
$ hadoop fs -help touchz
-touchz <path>: Write a timestamp in yyyy-MM-dd HH:mm:ss format
in a file at <path>. An error is returned if the file exists
with non-zero length
> Help message is wrong for touchz command.
> -----------------------------------------
>
> Key: HADOOP-7193
> URL: https://issues.apache.org/jira/browse/HADOOP-7193
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.21.0
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Fix For: 0.21.1, 0.22.0, 0.23.0
>
> Attachments: HADOOP-7193.patch, HADOOP-7193.patch
>
>
> Help message for touchz command is
> -touchz <path>: Write a timestamp in yyyy-MM-dd HH:mm:ss format
> in a file at <path>. An error is returned if the file exists
> with non-zero length.
> Actually current DFS behaviour is that it will not write any time stamp in
> created file. Just it is creating zero size file.
> So better to change the help message to give exact meaning.
--
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