Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-434 Provide an s3 compatible REST api for ozone objects
  3. HDDS-679

Add query parameter to the constructed query in VirtualHostStyleFilter

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0, 0.4.0
    • None
    • None

    Description

      org.apache.hadoop.ozone.s3.VirtualHostStyleFilter supports virtual host style bucket addresses (eg. http://bucket.localhost/ instead of http://localhost/bucket)

      It could be activated by setting the domain name to ozone.s3g.domain.name.

      Based on the configuration it recreates the URL of the request before the request is processed.

      Unfortunately during this recreation the query part of the URL is lost. (eg http://bucket.localhost/?prefix=/ will be converted to http://localhost/bucket)

      Attachments

        1. HDDS-679.00.patch
          7 kB
          Bharat Viswanadham

        Activity

          People

            bharat Bharat Viswanadham
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: