[ 
https://issues.apache.org/jira/browse/SPARK-21487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581351#comment-17581351
 ] 

Santosh Pingale commented on SPARK-21487:
-----------------------------------------

I believe this still an issue with kerberised hadoop clusters and sometimes, a 
major one when you have to debug something. This issue is present in all the 
secured hadoop clusters I have worked with. Finally at current org, I managed 
to get it working by patching spark internally.

*Whats happening:*

At some point, spark UI started sending mustache templates over AJAX call for 
rendering to improve performance. Those files have `.html` extension, here the 
yarn applies filter twice! 

*What could be done:*

While yarn is causing the issue here, spark can also make itself agnostic to 
this issue and allow users to use spark UI in its true form. In reality, 
mustache files should be `.mustache` instead of `.html`. This change alone 
allows us to render templates properly. I have tested it to work on local and 
on cluster. I can raise a PR and maybe we can discuss this over there.

> WebUI-Executors Page results in "Request is a replay (34) attack"
> -----------------------------------------------------------------
>
>                 Key: SPARK-21487
>                 URL: https://issues.apache.org/jira/browse/SPARK-21487
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 2.1.1
>            Reporter: ShuMing Li
>            Priority: Minor
>
> We upgraded Spark version from 2.0.2 to 2.1.1 recently,  WebUI `Executors 
> Page` becomed empty, with the exception below.
> `Executor Page` rendering using javascript language rather than scala in 
> 2.1.1, but I don't know why causes this result?
> "two queries are submitted at the same time and have the same timestamp may 
> cause this result", but I'm not sure?
> ResouceManager log:
> {code:java}
> 2017-07-20 20:39:09,371 WARN 
> org.apache.hadoop.security.authentication.server.AuthenticationFilter: 
> Authentication exception: GSSException: Failure unspecified at GSS-API level 
> (Mechanism level: Request is a replay (34))
> {code}
> Safari explorer console
> {code:java}
> Failed to load resource: the server responded with a status of 403 
> (GSSException: Failure unspecified at GSS-API level (Mechanism level: Request 
> is a replay 
> (34)))http://hadoop-rm-host:8088/proxy/application_1494564992156_2751285/static/executorspage-template.html
> {code}
> Related Links:
> https://issues.apache.org/jira/browse/HIVE-12481
> https://issues.apache.org/jira/browse/HADOOP-8830



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to