Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12037

Ozone: Improvement rest API output format for better looking

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • Reviewed

    Description

      Right now ozone rest api output is displayed as a raw json string in single line, not quite human readable,

      {"volumes":[{"owner":{"name":"wwei"},"quota":{"unit":"GB","size":200},"volumeName":"volume-aug-1","createdOn":null,"createdBy":null}]}
      
      

      propose to improve the output format by pretty printer

      {
        "volumes" : [ {
          "owner" : {
            "name" : "wwei"
          },
          "quota" : {
            "unit" : "GB",
            "size" : 200
          },
          "volumeName" : "volume-aug-1",
          "createdOn" : null,
          "createdBy" : null
        } ]
      }
      

      Attachments

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: