iain-buclaw-sociomantic opened a new pull request #375: URL: https://github.com/apache/knox/pull/375
## What changes were proposed in this pull request? For unexplained reasons, most of the time SHS links are in the format `http://host:port/proxy/application_123_456`, but sometimes they can be `/proxy/application_123_456`. This causes broken URLs on the page, along with the following logged error. ``` Failed to rewrite URL: /proxy/application_1597654526563_0024/, direction: OUT via rule: YARNUI/yarn/outbound/apps/history, status: FAILURE ``` This patch fixes the issue. ## How was this patch tested? Tested in local production cluster. Spawned up hundreds of spark jobs and checked links, without this patch every 1 in 20 or so is broken. With the patch, all previously broken links now work. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
