[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2024-01-26 Thread Shilun Fan (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated HADOOP-17585:

Component/s: common

> 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
>  Components: common
>Affects Versions: 3.4.0
>Reporter: Stephen O'Donnell
>Assignee: Stephen O'Donnell
>Priority: Major
> Fix For: 3.3.1, 3.4.0, 3.2.3
>
> Attachments: HADOOP-17585.001.patch, HADOOP-17585.002.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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2021-03-14 Thread Stephen O'Donnell (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell updated HADOOP-17585:
---
Fix Version/s: 3.2.3
   3.1.5
   3.3.1

> 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
>Affects Versions: 3.4.0
>Reporter: Stephen O'Donnell
>Assignee: Stephen O'Donnell
>Priority: Major
> Fix For: 3.3.1, 3.4.0, 3.1.5, 3.2.3
>
> Attachments: HADOOP-17585.001.patch, HADOOP-17585.002.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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2021-03-14 Thread Xiaoqiao He (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoqiao He updated HADOOP-17585:
-
Fix Version/s: 3.4.0
 Hadoop Flags: Reviewed
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks [~sodonnell] for your works!

> 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
>Affects Versions: 3.4.0
>Reporter: Stephen O'Donnell
>Assignee: Stephen O'Donnell
>Priority: Major
> Fix For: 3.4.0
>
> Attachments: HADOOP-17585.001.patch, HADOOP-17585.002.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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2021-03-12 Thread Stephen O'Donnell (Jira)


 [ 
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.002.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
>Affects Versions: 3.4.0
>Reporter: Stephen O'Donnell
>Assignee: Stephen O'Donnell
>Priority: Major
> Attachments: HADOOP-17585.001.patch, HADOOP-17585.002.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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2021-03-12 Thread Stephen O'Donnell (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell updated HADOOP-17585:
---
 Target Version/s: 3.4.0
Affects Version/s: 3.4.0
   Status: Patch Available  (was: Open)

> 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
>Affects Versions: 3.4.0
>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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-17585) Correct timestamp format in the docs for the touch command

2021-03-12 Thread Stephen O'Donnell (Jira)


 [ 
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("MMdd:HHmmss");
> {code}
> But the docs indicate it should be MMddHHmmss.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org