[
https://issues.apache.org/jira/browse/YARN-11554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757159#comment-17757159
]
ASF GitHub Bot commented on YARN-11554:
---------------------------------------
simbadzina commented on code in PR #5971:
URL: https://github.com/apache/hadoop/pull/5971#discussion_r1300776343
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/TestRMFailover.java:
##########
@@ -212,6 +213,9 @@ public void testAutomaticFailover()
public void testWebAppProxyInStandAloneMode() throws YarnException,
InterruptedException, IOException {
conf.setBoolean(YarnConfiguration.AUTO_FAILOVER_ENABLED, false);
+ if (HAUtil.isHAEnabled(conf)) {
Review Comment:
`HAUtil.isHAEnabled()` is always true, since it is set in the setup of this
test here:
https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/TestRMFailover.java#L88
Can you remove the check.
> Fix TestRMFailover#testWebAppProxyInStandAloneMode Failed
> ---------------------------------------------------------
>
> Key: YARN-11554
> URL: https://issues.apache.org/jira/browse/YARN-11554
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 3.4.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> There is an error in TestRMFailover#testWebAppProxyInStandAloneMode, which is
> caused after YARN-11153
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]