Re: How to create security filter for Spark UI in Spark on YARN

2018-02-01 Thread Jhon Anderson Cardenas Diaz
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

Re: How to create security filter for Spark UI in Spark on YARN

2018-01-10 Thread Jeff Zhang
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