[ https://issues.apache.org/jira/browse/HDFS-12037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078684#comment-16078684 ]
Xiaoyu Yao commented on HDFS-12037: ----------------------------------- Patch looks good to me. +1 > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org