-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66684/
-----------------------------------------------------------
Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni,
Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, and
Sailaja Polavarapu.
Bugs: RANGER-2070
https://issues.apache.org/jira/browse/RANGER-2070
Repository: ranger
Description
-------
In latest ranger when tried to enable plugin for Storm, ranger service creation
fails.
Found below in Ranger-Admin logs.
2018-04-07 09:48:53,132 [http-bio-6080-exec-4] INFO
apache.ranger.security.web.filter.RangerKRBAuthenticationFilter
(RangerKRBAuthenticationFilter.java:220) - Logged into Ranger as =
storm-rangerstorm
2018-04-07 09:48:53,136 [http-bio-6080-exec-4] INFO
org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:84) - Request
failed. loginId=null, logMessage=Bad Credentials
javax.ws.rs.WebApplicationException
at
org.apache.ranger.common.RESTErrorUtil.generateRESTException(RESTErrorUtil.java:77)
at
org.apache.ranger.biz.RangerBizUtil.blockAuditorRoleUser(RangerBizUtil.java:1637)
at org.apache.ranger.biz.UserMgr.addUserRole(UserMgr.java:981)
at org.apache.ranger.biz.UserMgr.createUser(UserMgr.java:167)
at
org.apache.ranger.biz.UserMgr$$FastClassBySpringCGLIB$$3bbcf0cf.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:669)
at
org.apache.ranger.biz.UserMgr$$EnhancerBySpringCGLIB$$f11ad8ab.createUser(<generated>)
at
org.apache.ranger.biz.XUserMgr.createServiceConfigUser(XUserMgr.java:2225)
Diffs
-----
security-admin/src/main/java/org/apache/ranger/biz/ServiceMgr.java acdfd2e
security-admin/src/main/java/org/apache/ranger/biz/UserMgr.java ad806fb
Diff: https://reviews.apache.org/r/66684/diff/1/
Testing
-------
1.Storm Service is getting created
2.Auditor and KMS Auditor Role user are blocked from the respective Api's
Thanks,
Fatima Khan