You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by Venkat Ranganathan <n....@live.com> on 2015/09/02 07:35:36 UTC

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/
-----------------------------------------------------------

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 Ajay Yadava <aj...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38041/#review97780
-----------------------------------------------------------

Ship it!


Ship It!

- Ajay Yadava


On Sept. 2, 2015, 4:57 p.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38041/
> -----------------------------------------------------------
> 
> (Updated Sept. 2, 2015, 4:57 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 
>   prism/src/test/java/org/apache/falcon/aspect/GenericAlertTest.java 919f821 
> 
> 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 Balu Vellanki <bv...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38041/#review97491
-----------------------------------------------------------

Ship it!


- Balu Vellanki


On Sept. 2, 2015, 4:57 p.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38041/
> -----------------------------------------------------------
> 
> (Updated Sept. 2, 2015, 4:57 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 
>   prism/src/test/java/org/apache/falcon/aspect/GenericAlertTest.java 919f821 
> 
> 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>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38041/
-----------------------------------------------------------

(Updated Sept. 2, 2015, 9:57 a.m.)


Review request for Falcon.


Changes
-------

Thanks for the quick review Ajay.   Fixed the comments


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 (updated)
-----

  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 
  prism/src/test/java/org/apache/falcon/aspect/GenericAlertTest.java 919f821 

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
> 
>


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

Posted by Ajay Yadava <aj...@gmail.com>.
-----------------------------------------------------------
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
> 
>