Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3513

Add OzoneConfiguration to UGI when startup S3Gateway

    XMLWordPrintableJSON

Details

    Description

      OzoneConfiguration missing load ozone-site.xml by default, this may cause some issues when setup a secure ozone cluster.

      When we start a S3Gateway in secure mode (Kerberos), when start S3Gateway http server, it will use UserGroupInformation to check whether in security mode, which will load Configuration to check whether "hadoop.security.authentication" set to "KERBEROS". but unfortunately, default configuration will only load "core-site.xml, core-default.xml, hdfs-site.xml, hdfs-default.xml ozone-default.xml" and missing ozone-site.xml,  it means we have to configure "hadoop.security.authentication" in one of default 5 config files if we want to start a secure S3Gateway.

      It's better to add ozone-site.xml into OzoneConfiguration by default, so we don't need to make one same configuration in different part.

      Attachments

        1. add_ozone_conf.patch
          0.7 kB
          Simon Su

        Issue Links

          Activity

            People

              simonss Simon Su
              simonss Simon Su
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: