WangTaoTheTonic created SPARK-2750: -------------------------------------- Summary: Add Https support for Web UI Key: SPARK-2750 URL: https://issues.apache.org/jira/browse/SPARK-2750 Project: Spark Issue Type: New Feature Components: Web UI Reporter: WangTaoTheTonic
Now I try to add https support for web ui using Jetty ssl integration.Below is the plan: 1.Web UI include Master UI, Worker UI, HistoryServer UI and Spark Ui. User can choose to use http or/and https way to acess them. We add some configuration items here, for example, "SPARK_MASTER_WEBUI_PORT" in system envs claim the https port for master ui. Different items would be added to control access way of dirrenet processes in system envs, JVM Properties and launch args. 2.User choose access way according to their configuration. If http port is assigned, then we start http service for web ui. If https port is assigned, we start https. If both two are assigned, we start two. If neither is assigned, we start http service at default port as same as now. 3.We should add some configuration items to state some args for ssl authentication, like keystore location and keystore password in 1-way ssl, truststore location in 2-way. User can also choose to switch between 1-way and 2-way. Now I nearly have implemented the functions mentioned above. Here are some questions: We know there are some hyper links between Master and Worker and some from Master to Spark UI(Driver UI). Now the link is their http addresses. So if we add https to them, what we should do when users click the links? Situation: 1.Master http port to Worker which opens https port only. 2.Master https port to Worker which opens http port only. Any feedback is welcome! -- This message was sent by Atlassian JIRA (v6.2#6252)