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

George Liaw commented on TEZ-3488:
----------------------------------

[~Sreenath] [~hitesh]

Thanks for the advice. I've tried pushing out these configs, but still getting 
this error:
{code}
Could not retrieve expected data from Resource Manager @ 
http://rm1.domain.com:8088/proxy/application_1477690015764_0001/ws/v2/tez/verticesInfo?dagID=1&vertexID=&counters=
{code}

CORS-related configs used:

core-site:
{code:xml}
    <property>
        <name>hadoop.http.filter.initializers</name>
        
<value>org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.security.HttpCrossOriginFilterInitializer</value>
    </property>

    <property>
        <name>hadoop.http.cross-origin.enabled</name>
        <value>true</value>
    </property>
{code}

yarn-site:
{code:xml}
  <property>
    <description>Enables cross-origin support (CORS) for web services where
      cross-origin web response headers are needed. For example, javascript 
making
      a web services request to the timeline server.</description>
    <name>yarn.timeline-service.http-cross-origin.enabled</name>
    <value>true</value>
  </property>

  <property>
    <name>yarn.resourcemanager.webapp.cross-origin.enabled</name>
    <value>true</value>
  </property>

  <property>
    <name>yarn.nodemanager.webapp.cross-origin.enabled</name>
    <value>true</value>
  </property>
{code}

Tried looking up "yarn.webservices.http-cross-origin.enabled" and I don't see 
it as an available config?

> 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)

Reply via email to