You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/09/28 10:14:05 UTC

[jira] [Resolved] (SPARK-9724) Avoid unnecessary redirects in the Spark Web UI

     [ https://issues.apache.org/jira/browse/SPARK-9724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-9724.
------------------------------
    Resolution: Fixed

> Avoid unnecessary redirects in the Spark Web UI
> -----------------------------------------------
>
>                 Key: SPARK-9724
>                 URL: https://issues.apache.org/jira/browse/SPARK-9724
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.3.1, 1.4.0, 1.4.1
>            Reporter: Rohit Agarwal
>            Assignee: Rohit Agarwal
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> When opening Spark's Web UI for an application, there are a number of redirects which makes it feel slow. We can avoid one of them.
> {code}
> vagrant@localhost:~ $ curl -i http://localhost:18080/history/application_1438648766072_0005/
> HTTP/1.1 302 Found
> Location: http://localhost:18080/history/application_1438648766072_0005/
> Content-Length: 0
> Server: Jetty(8.y.z-SNAPSHOT)
> vagrant@localhost:~ $ curl -i http://localhost:18080/history/application_1438648766072_0005/
> HTTP/1.1 302 Found
> Location: http://localhost:18080/history/application_1438648766072_0005/jobs
> Content-Length: 0
> Server: Jetty(8.y.z-SNAPSHOT)
> vagrant@localhost:~ $ curl -i http://localhost:18080/history/application_1438648766072_0005/jobs
> HTTP/1.1 302 Found
> Location: http://localhost:18080/history/application_1438648766072_0005/jobs/
> Content-Length: 0
> Server: Jetty(8.y.z-SNAPSHOT)
> vagrant@localhost:~ $ curl -i http://localhost:18080/history/application_1438648766072_0005/jobs/
> HTTP/1.1 200 OK
> Content-Type: text/html;charset=UTF-8
> Cache-Control: no-cache, no-store, must-revalidate
> Content-Length: 5267
> Server: Jetty(8.y.z-SNAPSHOT)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org