[
https://issues.apache.org/jira/browse/TEZ-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628275#comment-15628275
]
Sreenath Somarajapuram commented on TEZ-3488:
---------------------------------------------
[~gliaw]
bq. I don't know if anyone would like change Tez to strip ports 80 and 443 from
the config setting before using the url in the allowed origin header.
- Port is also part of "Access-Control-Allow-Origin" value, so it wouldn't be
ideal to remove it.
- Consider a case where the UI is hosted at an address like
http://nn1.domain.com:8080. The value expected in the header would be the
complete address with the port.
- In your case, as the default web server port (Port 80) is getting used the
port number wouldn't be required - Probably we can add it as a reminder in the
documentation.
Please feel free to add the same.
\cc [~hitesh]
> Tez UI Vertex 404
> -----------------
>
> Key: TEZ-3488
> URL: https://issues.apache.org/jira/browse/TEZ-3488
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.8.4
> Reporter: George Liaw
>
> When we're trying to view vertices for a running job, the Vertex page will
> show a 404 error saying:
> "Could not retrieve expected data from @ <url>"
> And the Vertex Counter page will show:
> "Counters unavailable"
> and
> "Error code: Unknown, message: Resource Manager (RM) out of reach. Either
> it's down or CORS is not enabled"
> The RMs are up and CORS is enabled. If we go to the displayed url, we get the
> expected XML with the application info. When the DAG finishes running, those
> errors go away and the pages display fine. Any idea what's going on here?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)