I solve this by using the property hadoop.http.authentication.type to
specify a custom Java Handler objects that contains the authentication
logic. This class only has to implement the
interface
org.apache.hadoop.security.authentication.server.AuthenticationHandler.
See:
https://hadoop.apache.org
It seems by design of yarn mode. Have you ever make it work in spark-shell ?
Jhon Anderson Cardenas Diaz 于2018年1月10日周三
下午9:17写道:
> *Environment*:
> AWS EMR, yarn cluster.
>
> *Description*:
>
> I am trying to use a java filter to protect the access to spark ui, this
> by using the property spark