Github user sarutak commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10663#discussion_r49167186
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala ---
    @@ -100,7 +101,19 @@ private[ui] class StagePage(parent: StagesTab) extends 
WebUIPage("stage") {
           val parameterTaskPrevPageSize = 
request.getParameter("task.prevPageSize")
     
           val taskPage = Option(parameterTaskPage).map(_.toInt).getOrElse(1)
    -      val taskSortColumn = 
Option(parameterTaskSortColumn).getOrElse("Index")
    +      val taskSortColumn = Option(parameterTaskSortColumn).map {
    +        sortColumn =>
    +          // If sortColumn contains "/", `getParameter("task.sort")` will 
return 
    +          // "%252F" when yarn mode. we need additional decode.
    +          // See also SPARK-4313, YARN-2844.
    --- End diff --
    
    How about say like as follows?
    
    ```
    // SPARK-12708
    // Due to YARN-2844, "/" in the url will be encoded to "%252F" when
    // running in yarn mode. `request.getParameter("task.sort")` will return
    // "%252F". Therefore we need to decode it until we get the real id.
    // SPARK-4313 is similar to this issue.
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to