Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7640

Retrospect to enable CORS related configs by default in YARN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • None

    Description

      Currently admin has to do below config changes to enable CORS in YARN.

      1. Add org.apache.hadoop.security.HttpCrossOriginFilterInitializer to hadoop.http.filter.initializers
      2. Set hadoop.http.cross-origin.enabled to true
      3. Set hadoop.http.cross-origin.allowed-methods to GET,HEAD
      4. Set yarn.nodemanager.webapp.cross-origin.enabled to true 
      5. Set yarn.resourcemanager.webapp.cross-origin.enabled to true
      

      For better handling, we could enable this config by default in YARN.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sunilg Sunil G
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: