[ https://issues.apache.org/jira/browse/SPARK-35004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gengliang Wang updated SPARK-35004: ----------------------------------- Affects Version/s: 3.1.1 > Fix Incorrect assertion of "master/worker web ui available behind front-end > reverseProxy" in MasterSuite > -------------------------------------------------------------------------------------------------------- > > Key: SPARK-35004 > URL: https://issues.apache.org/jira/browse/SPARK-35004 > Project: Spark > Issue Type: Bug > Components: Tests > Affects Versions: 3.2.0, 3.1.1 > Reporter: Yang Jie > Assignee: Yang Jie > Priority: Minor > Fix For: 3.2.0, 3.1.2 > > > [https://github.com/apache/spark/blob/bfba7fadd2e65c853971fb2983bdea1c52d1ed7f/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala#L425] > {code:java} > // with LocalCluster, we have masters and workers in the same JVM, each > overwriting > // system property spark.ui.proxyBase. > // so we need to manage this property explicitly for test > System.getProperty("spark.ui.proxyBase") should startWith > (s"$reverseProxyUrl/proxy/worker-") // Line 425 > {code} > Line 425 in MasterSuite is considered as unused expression, If we merge > lines 424 and 425 into one: > {code:java} > System.getProperty("spark.ui.proxyBase") should startWith > (s"$reverseProxyUrl/proxy/worker-") > {code} > this assertion will fail: > {code:java} > - master/worker web ui available behind front-end reverseProxy *** FAILED *** > The code passed to eventually never returned normally. Attempted 45 times > over 5.091914027 seconds. Last failure message: > "http://proxyhost:8080/path/to/spark" did not start with substring > "http://proxyhost:8080/path/to/spark/proxy/worker-". (MasterSuite.scala:405) > {code} > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org