SuccessChanges

Summary

  1. [WEBUI] Avoid possibility of script in query param keys (commit: dc24da23341eafb8163ce5292166048750b7f6ed) (details)
  2. [SPARK-24414][UI] Calculate the correct number of tasks for a stage. (commit: b37e76fa4cfa066574fa4684b18f5f62fa3cf5fc) (details)
Commit dc24da23341eafb8163ce5292166048750b7f6ed by vanzin
[WEBUI] Avoid possibility of script in query param keys
As discussed separately, this avoids the possibility of XSS on certain
request param keys.
CC vanzin
Author: Sean Owen <srowen@gmail.com>
Closes #21464 from srowen/XSS2.
(cherry picked from commit 698b9a0981f0ec322e15d6ac89cc38c8f49ed33d)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
(commit: dc24da23341eafb8163ce5292166048750b7f6ed)
The file was modifiedcore/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala (diff)
The file was modifiedcore/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala (diff)
Commit b37e76fa4cfa066574fa4684b18f5f62fa3cf5fc by vanzin
[SPARK-24414][UI] Calculate the correct number of tasks for a stage.
This change takes into account all non-pending tasks when calculating
the number of tasks to be shown. This also means that when the stage is
pending, the task table (or, in fact, most of the data in the stage
page) will not be rendered.
I also fixed the label when the known number of tasks is larger than the
recorded number of tasks (it was inverted).
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #21457 from vanzin/SPARK-24414.
(cherry picked from commit 7a82e93b349b4f414f2075dd5add8e4ed72fe357)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
(commit: b37e76fa4cfa066574fa4684b18f5f62fa3cf5fc)
The file was modifiedcore/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala (diff)