Elukey has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316969

Change subject: Fix yarn.w.o's mod_proxy_html configuration
......................................................................

Fix yarn.w.o's mod_proxy_html configuration

The visualization of Spark shell logs in the UI was broken due to
a problem with mod_proxy_html.
Ref: https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html#comment_3329

Bug: T147927
Change-Id: I68219d91ad1131dbe41131e3666c6b6dec3e718b
---
M modules/statistics/templates/yarn.wikimedia.org.erb
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/316969/1

diff --git a/modules/statistics/templates/yarn.wikimedia.org.erb 
b/modules/statistics/templates/yarn.wikimedia.org.erb
index 0f14d7a..3aca7ac 100644
--- a/modules/statistics/templates/yarn.wikimedia.org.erb
+++ b/modules/statistics/templates/yarn.wikimedia.org.erb
@@ -30,10 +30,10 @@
 
         # The Jetty Webserver (responsible for the Yarn UI) returns HTML with 
hardcoded
         # links in the HTML hrefs, so we need a way to avoid broken links.
-        ProxyHTMLEnable On
-        # ProxyHTMLExtended forces mod_proxy_html to parse CSS/JS files too
-        # causing performance penalties in the overall rendering time.
-        # Unfortunately this is needed since some analytics1001 links are
+        # Not using 'ProxyHTMLEnable On' since it breaks the visualization of
+        # Spark shell logs in the UI.
+        # 
https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html#comment_3329
+        SetOutputFilter INFLATE;proxy-html;DEFLATE
         # contained in embedded JS script that cause a broken UI experience
         # if left untouched.
         ProxyHTMLExtended On

-- 
To view, visit https://gerrit.wikimedia.org/r/316969
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I68219d91ad1131dbe41131e3666c6b6dec3e718b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <ltosc...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to