You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Sailaja Polavarapu <sp...@hortonworks.com> on 2016/07/26 00:18:32 UTC
Review Request 50408: RANGER-1121: Resolving circular dependency of
spring beans by enabling lazy initialization of the beans.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50408/
-----------------------------------------------------------
Review request for ranger, Alok Lal, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-1121
https://issues.apache.org/jira/browse/RANGER-1121
Repository: ranger
Description
-------
NPE is happening while referring an object that is not fully initialized because of circular dependency. Enabled lazy initialization by default in applicationContext.xml for ranger admin as there are many beans that are circular dependent.
Diffs
-----
security-admin/src/main/webapp/META-INF/applicationContext.xml 0580154
Diff: https://reviews.apache.org/r/50408/diff/
Testing
-------
Ran some basic manual tests with serviceDef creation during startup.
Thanks,
Sailaja Polavarapu
Re: Review Request 50408: RANGER-1121: Resolving circular dependency
of spring beans by enabling lazy initialization of the beans.
Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50408/#review143582
-----------------------------------------------------------
Ship it!
Ship It!
- Velmurugan Periasamy
On July 26, 2016, 12:18 a.m., Sailaja Polavarapu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50408/
> -----------------------------------------------------------
>
> (Updated July 26, 2016, 12:18 a.m.)
>
>
> Review request for ranger, Alok Lal, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1121
> https://issues.apache.org/jira/browse/RANGER-1121
>
>
> Repository: ranger
>
>
> Description
> -------
>
> NPE is happening while referring an object that is not fully initialized because of circular dependency. Enabled lazy initialization by default in applicationContext.xml for ranger admin as there are many beans that are circular dependent.
>
>
> Diffs
> -----
>
> security-admin/src/main/webapp/META-INF/applicationContext.xml 0580154
>
> Diff: https://reviews.apache.org/r/50408/diff/
>
>
> Testing
> -------
>
> Ran some basic manual tests with serviceDef creation during startup.
>
>
> Thanks,
>
> Sailaja Polavarapu
>
>