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.

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              GergelyNovak Gergely Novák

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment