[
https://issues.apache.org/jira/browse/HDFS-11984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HDFS-11984:
-----------------------------
Attachment: HDFS-11984-HDFS-7240.003.patch
Thanks [~cheersyang] for providing the info. It really makes sense to me.
I debugged the test and found the root cause. I missed one thing that the date
string in ozone format reparsed to milliseconds time will lose some precision.
For example:
{noformat}
Creation time in milliseconds: 1501502637623
Ozone date format: Mon, 31 Jul 2017 12:03:57 GMT
Reparsed time in milliseconds: 1501502637000
{noformat}
Since the date string only shows the end of second and the part of some time in
milliseconds is missing. So there is a chance the test will be failed.
Attach the new patch to fix this.
> Ozone: Ensures listKey lists all required key fields
> ----------------------------------------------------
>
> Key: HDFS-11984
> URL: https://issues.apache.org/jira/browse/HDFS-11984
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Weiwei Yang
> Assignee: Yiqun Lin
> Attachments: HDFS-11984-HDFS-7240.001.patch,
> HDFS-11984-HDFS-7240.002.patch, HDFS-11984-HDFS-7240.003.patch
>
>
> HDFS-11782 implements the listKey operation which only lists the basic key
> fields, we need to make sure it return all required fields
> # version
> # md5hash
> # createdOn
> # size
> # keyName
> this task is depending on the work of HDFS-11886. See more discussion [here |
> https://issues.apache.org/jira/browse/HDFS-11782?focusedCommentId=16045562&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16045562].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]