> On Oct. 13, 2015, 5:17 a.m., Madhan Neethiraj wrote:
> > agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java,
> >  line 110
> > <https://reviews.apache.org/r/39215/diff/1/?file=1094996#file1094996line110>
> >
> >     This change does not look relevant to the current fix..and might impact 
> > all audit destinations. Please make sure to verify well.

I tested this. By default we should always start with the assumption that the 
destination is up and if the write fails, then the flag is switched. Regardless 
the flag, it just adds additional 30seconds of wait period.


> On Oct. 13, 2015, 5:17 a.m., Madhan Neethiraj wrote:
> > plugin-solr/src/main/java/org/apache/ranger/authorization/solr/authorizer/RangerSolrAuthorizer.java,
> >  line 166
> > <https://reviews.apache.org/r/39215/diff/1/?file=1094997#file1094997line166>
> >
> >     Consider moving this log level check to logAuthorizationContext() 
> > method. The level at which the logging is done is determined by the method 
> > impl..
> >     
> >     Other option is for the method to return formatted log msg, which can 
> > be logged from here.

Moving the check to the method is a good idea. Returning the formatted log 
message might be unneccessary overhead if it is not printed.


- Don Bosco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39215/#review102387
-----------------------------------------------------------


On Oct. 12, 2015, 3:55 a.m., Don Bosco Durai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39215/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 3:55 a.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj and Selvamohan Neethiraj.
> 
> 
> Bugs: RANGER-657
>     https://issues.apache.org/jira/browse/RANGER-657
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Updated Ranger Solr Authorization code to address keberos principal
> 
> 
> Diffs
> -----
> 
>   agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java 
> a3a3a84 
>   
> agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java 
> bab496c 
>   
> plugin-solr/src/main/java/org/apache/ranger/authorization/solr/authorizer/RangerSolrAuthorizer.java
>  8e0ada8 
> 
> Diff: https://reviews.apache.org/r/39215/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> 
> Thanks,
> 
> Don Bosco Durai
> 
>

Reply via email to