You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/11/29 14:28:00 UTC

[jira] [Commented] (KNOX-1642) YARN v1 and v2 UI - Ensure works with YARN RM HA

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

Kevin Risden commented on KNOX-1642:
------------------------------------

It actually looks like multiple URLs doesn't work for YARNUI and YARNUIV2. If the first RM defined URL is down, then Knox doesn't automatically fail over to the other url. This also doesn't seem to work if the following is defined in the topology:
{code:java}
<provider>
  <role>ha</role>
  <name>HaProvider</name>
  <enabled>true</enabled>
  <param>
    <name>YARNUI</name>
    <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
  </param>
  <param>
    <name>YARNUIV2</name>
    <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
  </param>
</provider>{code}

> YARN v1 and v2 UI - Ensure works with YARN RM HA
> ------------------------------------------------
>
>                 Key: KNOX-1642
>                 URL: https://issues.apache.org/jira/browse/KNOX-1642
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Kevin Risden
>            Priority: Major
>             Fix For: 1.3.0
>
>
> Currently if there are multiple RM URLs defined for YARNUI or YARNUIV2 and the first one is not active, there is a redirect loop that causes issues. If the first URL is active then there is no issue and YARN UI works correctly. 
> Work Around: Restart active RM to force failover to other RM.



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