Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5305 Ozone Namespace Summaries in Recon
  3. HDDS-5368

Add CLI command: ozone admin namespace summary

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      Add the ozone admin shell command ozone admin namespace summary

      From the design doc:

      $ ozone admin namespace summary --all /vol1/bucket1/MyDir
      
      Entity Type : Directory
      Directories : 1
      Keys : 10
      
      DU
        Size  DiskUsage   Path
        21G     63G          /volume1/bucket1
        5G      15G          /volume1/bucket2
      
      File Size Distribution
        1KB - 2KB - 50% (5)
        2KB - 4KB - 50% (5)
      

      This new command is expected to connect to Recon to get the info, so some new APIs in Recon would be necessary (RPC or REST, most likely REST).

      Attachments

        Issue Links

          Activity

            People

              yuan.gu Yuan Gu
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: