You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by Ajay Yadava <aj...@gmail.com> on 2015/09/02 11:44:41 UTC

Re: Review Request 38041: FALCON-1429: Fix Falcon monitoring, alert, audit and monitoring plugins by fixing aspectj handling

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


Minor nit: GenericAlertTest is also not an aspect, so we should remove the @Aspect annotation from it as well.
+1 from my side after that.

- Ajay Yadava


On Sept. 2, 2015, 5:35 a.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38041/
> -----------------------------------------------------------
> 
> (Updated Sept. 2, 2015, 5:35 a.m.)
> 
> 
> Review request for Falcon.
> 
> 
> Bugs: FALCON-1429
>     https://issues.apache.org/jira/browse/FALCON-1429
> 
> 
> Repository: falcon-git
> 
> 
> Description
> -------
> 
> Updated Aspectj version to 1.8.6,
> Fixed weaver dependency to also include the metrics project with GenericAlert handling. 
> Fixed null pointer handling in around advice for audits
> 
> 
> Diffs
> -----
> 
>   metrics/src/main/java/org/apache/falcon/aspect/AbstractFalconAspect.java b358011 
>   metrics/src/main/java/org/apache/falcon/aspect/GenericAlert.java 321c769 
>   pom.xml 583d095 
>   prism/pom.xml 1e68e82 
> 
> Diff: https://reviews.apache.org/r/38041/diff/
> 
> 
> Testing
> -------
> 
> Ran mvn clean install -Phadoop-2,test-patch
> All Tests passed
> 
> You may see the following warning (I changed the ajc lint level to warning so that we can see issues if any) 
> 
> WARNING] can not implement lazyTjp on this joinpoint method-execution(java.lang.String org.apache.falcon.aspect.GenericAlert.audit(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)) because around advice is used [Xlint:canNotImplementLazyTjp]
> 
> That is because the aspects are broadly applicable.   May be we can fix the Pointcuts later
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>


Re: Review Request 38041: FALCON-1429: Fix Falcon monitoring, alert, audit and monitoring plugins by fixing aspectj handling

Posted by Venkat Ranganathan <n....@live.com>.

> On Sept. 2, 2015, 2:44 a.m., Ajay Yadava wrote:
> > Minor nit: GenericAlertTest is also not an aspect, so we should remove the @Aspect annotation from it as well.
> > +1 from my side after that.

Resolved.   Thanks for catching it


- Venkat


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


On Sept. 1, 2015, 10:35 p.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38041/
> -----------------------------------------------------------
> 
> (Updated Sept. 1, 2015, 10:35 p.m.)
> 
> 
> Review request for Falcon.
> 
> 
> Bugs: FALCON-1429
>     https://issues.apache.org/jira/browse/FALCON-1429
> 
> 
> Repository: falcon-git
> 
> 
> Description
> -------
> 
> Updated Aspectj version to 1.8.6,
> Fixed weaver dependency to also include the metrics project with GenericAlert handling. 
> Fixed null pointer handling in around advice for audits
> 
> 
> Diffs
> -----
> 
>   metrics/src/main/java/org/apache/falcon/aspect/AbstractFalconAspect.java b358011 
>   metrics/src/main/java/org/apache/falcon/aspect/GenericAlert.java 321c769 
>   pom.xml 583d095 
>   prism/pom.xml 1e68e82 
> 
> Diff: https://reviews.apache.org/r/38041/diff/
> 
> 
> Testing
> -------
> 
> Ran mvn clean install -Phadoop-2,test-patch
> All Tests passed
> 
> You may see the following warning (I changed the ajc lint level to warning so that we can see issues if any) 
> 
> WARNING] can not implement lazyTjp on this joinpoint method-execution(java.lang.String org.apache.falcon.aspect.GenericAlert.audit(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)) because around advice is used [Xlint:canNotImplementLazyTjp]
> 
> That is because the aspects are broadly applicable.   May be we can fix the Pointcuts later
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>