File tree Expand file tree Collapse file tree 5 files changed +4
-24
lines changed Expand file tree Collapse file tree 5 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ ADD hadoop/* /etc/hadoop/
4343ADD runit/service /var/lib/runit/service
4444ADD runit/init.sh /sbin/init.sh
4545ADD nginx /etc/nginx
46- ADD html /usr/share/nginx/html
47- RUN chmod 644 /usr/share/nginx/html/*
4846
4947# RUN ln -sf /usr/lib/libmesos.so /usr/lib/libmesos-0.23.1.so
5048
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99#https# ssl_certificate spark.crt;
1010#https# ssl_certificate_key spark.key;
1111
12- root /usr/share/nginx/html;
13- index index.html;
14-
1512 location /v1 {
1613 proxy_pass <DISPATCHER_URL>;
1714
@@ -26,8 +23,7 @@ server {
2623 proxy_read_timeout 600s;
2724 }
2825
29- location /dispatcher/ {
30- proxy_redirect http://$host $scheme://$host/dispatcher;
26+ location / {
3127 proxy_pass <DISPATCHER_UI_URL>/;
3228 proxy_set_header Host $host;
3329 }
Original file line number Diff line number Diff line change 1717
1818export WEBUI_URL=" ${SCHEME} ://${FRAMEWORK_NAME}${DNS_SUFFIX} :${SPARK_PROXY_PORT} "
1919export HISTORY_SERVER_WEB_PROXY_BASE=" /service/${FRAMEWORK_NAME} /history"
20- export DISPATCHER_UI_WEB_PROXY_BASE=" /service/${FRAMEWORK_NAME} /dispatcher "
20+ export DISPATCHER_UI_WEB_PROXY_BASE=" /service/${FRAMEWORK_NAME} "
2121
2222# configure history server
2323if [ " ${ENABLE_HISTORY_SERVER:= false} " = " true" ]; then
Original file line number Diff line number Diff line change 4949 {
5050{{#spark.ssl.enabled} }
5151 "protocol": "COMMAND",
52- "command": { " value" : " curl -f -k https://$HOST:$PORT3/dispatcher/ " } ,
52+ "command": { " value" : " curl -f -k https://$HOST:$PORT3/" } ,
5353{ {/spark.ssl.enabled} }
5454{ {^spark.ssl.enabled} }
55- "path": "/dispatcher/ ",
55+ "path": "/",
5656 "portIndex": 3,
5757 "protocol": "HTTP",
5858{ {/spark.ssl.enabled} }
You can’t perform that action at this time.
0 commit comments