hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12037) Ozone: Improvement rest API output format for better looking
Date Tue, 27 Jun 2017 06:42:00 GMT

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

Weiwei Yang updated HDFS-12037:
-------------------------------
    Attachment: HDFS-12037-HDFS-7240.001.patch

> Ozone: Improvement rest API output format for better looking
> ------------------------------------------------------------
>
>                 Key: HDFS-12037
>                 URL: https://issues.apache.org/jira/browse/HDFS-12037
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>              Labels: user-experience
>         Attachments: HDFS-12037-HDFS-7240.001.patch
>
>
> Right now ozone rest api output is displayed as a raw json string in single line, not
quite human readable,
> {noformat}
> {"volumes":[{"owner":{"name":"wwei"},"quota":{"unit":"GB","size":200},"volumeName":"volume-aug-1","createdOn":null,"createdBy":null}]}
> {noformat}
> propose to improve the output format by pretty printer
> {noformat}
> {
>   "volumes" : [ {
>     "owner" : {
>       "name" : "wwei"
>     },
>     "quota" : {
>       "unit" : "GB",
>       "size" : 200
>     },
>     "volumeName" : "volume-aug-1",
>     "createdOn" : null,
>     "createdBy" : null
>   } ]
> }
> {noformat}



--
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


Mime
View raw message