ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qiang Zhang <zhangqia...@zte.com.cn>
Subject Review Request 55666: RANGER-1316:Ranger-Admin enable security mode should not depend on configuration logdir
Date Wed, 18 Jan 2017 08:15:22 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for ranger, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Madhan Neethiraj,
Ramesh Mani, and Velmurugan Periasamy.

Bugs: RANGER-1316

Repository: ranger


Ranger-Admin enable security mode should not depend on configuration logdir,
change it to depend on whether hadoop.security.authentication is kerberos.


  embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java 7c5f327

Diff: https://reviews.apache.org/r/55666/diff/


#Test Result:
1.Start Ranger-Admin success, and Ranger-Admin is not in security mode
2.Start Ranger-Admin success, and Ranger-Admin is in security mode with Kerberos Authentication,
and find below logs in catalina.out:
?? 18, 2017 4:18:21 ?? org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Provided Kerberos Credential : Principal = rangeradmin/zdh-240@ZDH.COM and Keytab =
?? 18, 2017 4:18:21 ?? org.apache.ranger.server.tomcat.EmbeddedServer$1 run
INFO: Starting Server using kerberos credential


Qiang Zhang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message