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:
https://reviews.apache.org/r/55666/
-----------------------------------------------------------

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


Bugs: RANGER-1316
    https://issues.apache.org/jira/browse/RANGER-1316


Repository: ranger


Description
-------

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


Diffs
-----

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


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


Testing
-------

#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 =
/home/rangeradmin/ranger-0.7.0-SNAPSHOT-admin/keytabs/rangeradmin.keytab
?? 18, 2017 4:18:21 ?? org.apache.ranger.server.tomcat.EmbeddedServer$1 run
INFO: Starting Server using kerberos credential
***


Thanks,

Qiang Zhang


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