Weiwei Yang created HDFS-12037:
----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]