Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5076 Follow-on work for FileSystemOptimizations(FSO)
  3. HDDS-5463

[FSO] Recon Container API does not work correctly with FSO

    XMLWordPrintableJSON

Details

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

    Description

      How to reproduce the bug: (on a clean master directory)

      1. Enabled FSO by adding 
        OZONE-SITE.XML_ozone.om.enable.filesystem.paths=true;
        OZONE-SITE.XML_ozone.om.metadata.layout=PREFIX;

         to docker-config. Also make sure 

        OZONE-SITE.XML_ozone.recon.om.snapshot.task.interval.delay=1m

        so no need to wait more than 1 minute.

      1. Updated docker-compose.yaml by setting the x-layout_version to 
        x-layout_version:
          &metadata_layout
          OZONE-SITE.XML_ozone.om.metadata.layout: ${OZONE_OM_METADATA_LAYOUT:-PREFIX}
          OZONE-SITE.XML_ozone.om.enable.filesystem.paths: ${OZONE_OM_ENABLE_FILESYSTEM_PATHS:-true}
        
      1. run docker-compose, exec into OM CLI when docker is up
      2. Write a key to make container non-zero
      3. Go to
        http://localhost:9888/api/v1/containers

        and wait for 1 minute.

      1. The container endpoint should not working as expected (still 0).

      cc smeng, avijayan

      Attachments

        Issue Links

          Activity

            People

              arafat2198 Arafat Khan
              yuan.gu Yuan Gu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: