You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Gergely Novák (JIRA)" <ji...@apache.org> on 2017/03/01 10:31:45 UTC

[jira] [Created] (YARN-6258) The node sites don't work with local (CORS) setup

Gergely Novák created YARN-6258:
-----------------------------------

             Summary: The node sites don't work with local (CORS) setup
                 Key: YARN-6258
                 URL: https://issues.apache.org/jira/browse/YARN-6258
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Gergely Novák
            Assignee: Gergely Novák


If CORS proxy is configured for development purposes, all the yarn-node sites (yarn-node, yarn-node-apps, yarn-node-containers) throw an error:
{noformat}
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)
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org