You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2017/07/28 09:27:00 UTC

[jira] [Comment Edited] (HDFS-11984) Ozone: Ensures listKey lists all required key fields

    [ https://issues.apache.org/jira/browse/HDFS-11984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104709#comment-16104709 ] 

Yiqun Lin edited comment on HDFS-11984 at 7/28/17 9:26 AM:
-----------------------------------------------------------

Attach the initial patch. Current patch adds necessary filed {{createdOn/modifiedOn}} in response key info. The sample output:
{noformat}
{
  "version" : 0,
  "md5hash" : null,
  "createdOn" : "Fri, 28 Jul 2017 07:14:20 GMT",
  "modifiedOn" : "Fri, 28 Jul 2017 07:14:20 GMT",
  "size" : 0,
  "keyName" : "key71955"
}
{noformat}
*Note*: There is already a ozone date format defined. We would be better to reuse this format rather than use the format in util class under hadoop-common. I am missing this when I reviewed patch in HDFS-12170, :P.



was (Author: linyiqun):
Attach the initial patch. Current patch adds necessary filed {{createdOn/modifiedOn}} in response key info. The sample output:
{noformat}
{
  "version" : 0,
  "md5hash" : null,
  "createdOn" : "Fri, 28 Jul 2017 07:14:20 GMT",
  "modifiedOn" : "Fri, 28 Jul 2017 07:14:20 GMT",
  "size" : 0,
  "keyName" : "key71955"
}
{noformat}
*Note*: There is already a ozone date format defined. We would be better to reuse this format rather than use the format in util class under hadoop-common. I am missing this when I reviews patch in HDFS-12170, :P.


> 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-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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org