[ 
https://issues.apache.org/jira/browse/KNOX-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427548#comment-16427548
 ] 

Phil Zampino commented on KNOX-1212:
------------------------------------

[~sunilg] While it does appear to be working within your cluster, I've applied 
your latest patch to a local Knox instance outside the cluster, and there are 
still issues.

The javascript console yields the following (not sure if it helps):
{noformat}
RM Address: localhost:8443/gateway/yarnui2-test/yarnuiv2
yarn-ui.js:198 Get Timeline V2 Address URL: 
https://localhost:8443/gateway/yarnui2-test/yarnuiv2/conf?name=yarn.timeline-service.reader.webapp.address
yarn-ui.js:199 Get Timeline V1 Address URL: 
https://localhost:8443/gateway/yarnui2-test/yarnuiv2/conf?name=yarn.timeline-service.webapp.address
yarn-ui.js:203 Timeline V1 Address from RM: 
https://localhost:8443/gateway/yarnui2-test/yarnuiv2/timeline?host=ctr-e138-1518143905142-204558-01-000003.hwx.site&port=8188
yarn-ui.js:201 Timeline Address from RM: 
https://localhost:8443/gateway/yarnui2-test/yarnuiv2/timeline?host=ctr-e138-1518143905142-204558-01-000003.hwx.site&port=8198
yarn-ui.js:317 In setComputedENVs false
:8443/gateway/yarnui2-test/yarnuiv2/ws/v1/cluster?_=1522959100069 Failed to 
load resource: net::ERR_EMPTY_RESPONSE
yarn-ui.js:261 Error: Adapter operation failed
    at ember$data$lib$adapters$errors$$AdapterError.EmberError 
(vendor.js:formatted:16148)
    at new ember$data$lib$adapters$errors$$AdapterError 
(vendor.js:formatted:58603)
    at Class.handleResponse (vendor.js:formatted:58854)
    at Class.hash.error (vendor.js:formatted:58888)
    at fire (vendor.js:formatted:4444)
    at Object.fireWith [as rejectWith] (vendor.js:formatted:4538)
    at done (vendor.js:formatted:7697)
    at XMLHttpRequest.<anonymous> (vendor.js:formatted:7929)
vendor.js:formatted:23281 Error: Adapter operation failed
    at ember$data$lib$adapters$errors$$AdapterError.EmberError 
(vendor.js:formatted:16148)
    at new ember$data$lib$adapters$errors$$AdapterError 
(vendor.js:formatted:58603)
    at Class.handleResponse (vendor.js:formatted:58854)
    at Class.hash.error (vendor.js:formatted:58888)
    at fire (vendor.js:formatted:4444)
    at Object.fireWith [as rejectWith] (vendor.js:formatted:4538)
    at done (vendor.js:formatted:7697)
    at XMLHttpRequest.<anonymous> (vendor.js:formatted:7929)
onerrorDefault @ vendor.js:formatted:23281
hadoop_logo.png Failed to load resource: the server responded with a status of 
404 (Not Found)
{noformat}


> Support new YARN webui2 in knox
> -------------------------------
>
>                 Key: KNOX-1212
>                 URL: https://issues.apache.org/jira/browse/KNOX-1212
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Sunil G
>            Assignee: Phil Zampino
>            Priority: Major
>             Fix For: 1.1.0
>
>         Attachments: KNOX-1212.001.patch, KNOX-1212.002.patch
>
>
> YARN-3368 introduced new js based YARN ui framework.
> To access this UI behind knox proxy, introducing a new service named 
> "yarnuiv2" and attaching rewrite rules for same.
> [[email protected]] Could u pls help to review this. cc/[~leftnoteasy] 
> [~vinodkv]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to