You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/03/12 11:46:00 UTC
[jira] [Updated] (HADOOP-17585) Correct timestamp format in the
docs for the touch command
[ https://issues.apache.org/jira/browse/HADOOP-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen O'Donnell updated HADOOP-17585:
---------------------------------------
Attachment: HADOOP-17585.001.patch
> Correct timestamp format in the docs for the touch command
> ----------------------------------------------------------
>
> Key: HADOOP-17585
> URL: https://issues.apache.org/jira/browse/HADOOP-17585
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Stephen O'Donnell
> Assignee: Stephen O'Donnell
> Priority: Major
> Attachments: HADOOP-17585.001.patch
>
>
> The touch command was added by HADOOP-9214, but the usage instructions and docs have never aligned with the code.
> The code uses a timestamp format of:
> {code}
> new SimpleDateFormat("yyyyMMdd:HHmmss");
> {code}
> But the docs indicate it should be yyyyMMddHHmmss.
> While I believe the format in the docs is better, tools or applications may be relying on the old format now, so I suggest we simply update the docs and usage, and improve the error message if the wrong format is used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org