Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3368 [Umbrella] YARN web UI: Next generation
  3. YARN-6258

localBaseAddress for CORS proxy configuration is not working when suffixed with forward slash in new YARN UI.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • None
    • None
    • Reviewed

    Description

      If CORS proxy is configured for development purposes, all the yarn-node sites (yarn-node, yarn-node-apps, yarn-node-containers) throw an error:

      Error: Adapter operation failed
          at ember$data$lib$adapters$errors$$AdapterError.EmberError (ember.debug.js:15860)
          at ember$data$lib$adapters$errors$$AdapterError (errors.js:19)
          at Class.handleResponse (rest-adapter.js:677)
          at Class.hash.error (rest-adapter.js:757)
          at fire (jquery.js:3099)
          at Object.fireWith [as rejectWith] (jquery.js:3211)
          at done (jquery.js:8266)
          at XMLHttpRequest.<anonymous> (jquery.js:8605)
      

      This might be caused by bad request url: "http://localhost:1337//192.168.0.104:8042/ws/v1/node".

      Attachments

        1. YARN-6258.001.patch
          0.7 kB
          Gergely Novák

        Activity

          People

            GergelyNovak Gergely Novák
            GergelyNovak Gergely Novák
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: