You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sumana Sathish (JIRA)" <ji...@apache.org> on 2016/08/09 23:13:20 UTC
[jira] [Updated] (YARN-5499) Logs of container loads first time but
fails if you go back and click again
[ https://issues.apache.org/jira/browse/YARN-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumana Sathish updated YARN-5499:
---------------------------------
Description:
Steps to reproduce:
* Click on Nodes. This page will list nodes of the cluster
* Select a node which has running container
* Select 'list of containers'
* Select any one of the logs link like stdout or stderr. Logs link appear properly
* Click back on the browser to go to container page again
* Select any other logs link
The Url prompts "Sorry, Error Occurred."
{code}
jquery.js:8630 XMLHttpRequest cannot load http://cn044-10.l42scl.hortonworks.com:8042cn044-10.l42scl.hortonworks.com:…e/containerlogs/container_1469893274276_0261_01_000009/launch_container.sh. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.send @ jquery.js:8630ajax @ jquery.js:8166(anonymous function) @ rest-adapter.js:764initializePromise @ ember.debug.js:52308Promise @ ember.debug.js:54158ajax @ rest-adapter.js:729ajax @ yarn-container-log.js:36superWrapper @ ember.debug.js:22060findRecord @ rest-adapter.js:333ember$data$lib$system$store$finders$$_find @ finders.js:18fetchRecord @ store.js:541_fetchRecord @ store.js:595_flushPendingFetchForType @ store.js:641cb @ ember.debug.js:17448forEach @ ember.debug.js:17251forEach @ ember.debug.js:17456flushAllPendingFetches @ store.js:584invoke @ ember.debug.js:320flush @ ember.debug.js:384flush @ ember.debug.js:185end @ ember.debug.js:563run @ ember.debug.js:685run @ ember.debug.js:20105(anonymous function) @ ember.debug.js:23761dispatch @ jquery.js:4435elemData.handle @ jquery.js:4121
ember.debug.js:30877 Error: Adapter operation failed
at new Error (native)
at Error.EmberError (http://localhost:4200/assets/vendor.js:25278:21)
at Error.ember$data$lib$adapters$errors$$AdapterError (http://localhost:4200/assets/vendor.js:91198:50)
at Class.handleResponse (http://localhost:4200/assets/vendor.js:92494:16)
at Class.hash.error (http://localhost:4200/assets/vendor.js:92574:33)
at fire (http://localhost:4200/assets/vendor.js:3306:30)
at Object.fireWith [as rejectWith] (http://localhost:4200/assets/vendor.js:3418:7)
at done (http://localhost:4200/assets/vendor.js:8473:14)
at XMLHttpRequest.<anonymous> (http://localhost:4200/assets/vendor.js:8806:9)
at Object.send (http://localhost:4200/assets/vendor.js:8837:10)
{code}
was:
Steps to reproduce:
*Click on Nodes. This page will list nodes of the cluster
*Select a node which has running container
*Select 'list of containers'
*Select any one of the logs link like stdout or stderr. Logs link appear properly
*Click back on the browser to go to container page again
*Select any other logs link
The Url prompts "Sorry, Error Occurred."
{code}
jquery.js:8630 XMLHttpRequest cannot load http://cn044-10.l42scl.hortonworks.com:8042cn044-10.l42scl.hortonworks.com:…e/containerlogs/container_1469893274276_0261_01_000009/launch_container.sh. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.send @ jquery.js:8630ajax @ jquery.js:8166(anonymous function) @ rest-adapter.js:764initializePromise @ ember.debug.js:52308Promise @ ember.debug.js:54158ajax @ rest-adapter.js:729ajax @ yarn-container-log.js:36superWrapper @ ember.debug.js:22060findRecord @ rest-adapter.js:333ember$data$lib$system$store$finders$$_find @ finders.js:18fetchRecord @ store.js:541_fetchRecord @ store.js:595_flushPendingFetchForType @ store.js:641cb @ ember.debug.js:17448forEach @ ember.debug.js:17251forEach @ ember.debug.js:17456flushAllPendingFetches @ store.js:584invoke @ ember.debug.js:320flush @ ember.debug.js:384flush @ ember.debug.js:185end @ ember.debug.js:563run @ ember.debug.js:685run @ ember.debug.js:20105(anonymous function) @ ember.debug.js:23761dispatch @ jquery.js:4435elemData.handle @ jquery.js:4121
ember.debug.js:30877 Error: Adapter operation failed
at new Error (native)
at Error.EmberError (http://localhost:4200/assets/vendor.js:25278:21)
at Error.ember$data$lib$adapters$errors$$AdapterError (http://localhost:4200/assets/vendor.js:91198:50)
at Class.handleResponse (http://localhost:4200/assets/vendor.js:92494:16)
at Class.hash.error (http://localhost:4200/assets/vendor.js:92574:33)
at fire (http://localhost:4200/assets/vendor.js:3306:30)
at Object.fireWith [as rejectWith] (http://localhost:4200/assets/vendor.js:3418:7)
at done (http://localhost:4200/assets/vendor.js:8473:14)
at XMLHttpRequest.<anonymous> (http://localhost:4200/assets/vendor.js:8806:9)
at Object.send (http://localhost:4200/assets/vendor.js:8837:10)
{code}
> Logs of container loads first time but fails if you go back and click again
> ---------------------------------------------------------------------------
>
> Key: YARN-5499
> URL: https://issues.apache.org/jira/browse/YARN-5499
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Sumana Sathish
> Priority: Critical
>
> Steps to reproduce:
> * Click on Nodes. This page will list nodes of the cluster
> * Select a node which has running container
> * Select 'list of containers'
> * Select any one of the logs link like stdout or stderr. Logs link appear properly
> * Click back on the browser to go to container page again
> * Select any other logs link
> The Url prompts "Sorry, Error Occurred."
> {code}
> jquery.js:8630 XMLHttpRequest cannot load http://cn044-10.l42scl.hortonworks.com:8042cn044-10.l42scl.hortonworks.com:…e/containerlogs/container_1469893274276_0261_01_000009/launch_container.sh. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.send @ jquery.js:8630ajax @ jquery.js:8166(anonymous function) @ rest-adapter.js:764initializePromise @ ember.debug.js:52308Promise @ ember.debug.js:54158ajax @ rest-adapter.js:729ajax @ yarn-container-log.js:36superWrapper @ ember.debug.js:22060findRecord @ rest-adapter.js:333ember$data$lib$system$store$finders$$_find @ finders.js:18fetchRecord @ store.js:541_fetchRecord @ store.js:595_flushPendingFetchForType @ store.js:641cb @ ember.debug.js:17448forEach @ ember.debug.js:17251forEach @ ember.debug.js:17456flushAllPendingFetches @ store.js:584invoke @ ember.debug.js:320flush @ ember.debug.js:384flush @ ember.debug.js:185end @ ember.debug.js:563run @ ember.debug.js:685run @ ember.debug.js:20105(anonymous function) @ ember.debug.js:23761dispatch @ jquery.js:4435elemData.handle @ jquery.js:4121
> ember.debug.js:30877 Error: Adapter operation failed
> at new Error (native)
> at Error.EmberError (http://localhost:4200/assets/vendor.js:25278:21)
> at Error.ember$data$lib$adapters$errors$$AdapterError (http://localhost:4200/assets/vendor.js:91198:50)
> at Class.handleResponse (http://localhost:4200/assets/vendor.js:92494:16)
> at Class.hash.error (http://localhost:4200/assets/vendor.js:92574:33)
> at fire (http://localhost:4200/assets/vendor.js:3306:30)
> at Object.fireWith [as rejectWith] (http://localhost:4200/assets/vendor.js:3418:7)
> at done (http://localhost:4200/assets/vendor.js:8473:14)
> at XMLHttpRequest.<anonymous> (http://localhost:4200/assets/vendor.js:8806:9)
> at Object.send (http://localhost:4200/assets/vendor.js:8837:10)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org