hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToUseConcurrencyAnalysisTools" by KonstantinBoudnik
Date Fri, 11 Dec 2009 00:00:54 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToUseConcurrencyAnalysisTools" page has been changed by KonstantinBoudnik.
http://wiki.apache.org/hadoop/HowToUseConcurrencyAnalysisTools?action=diff&rev1=3&rev2=4

--------------------------------------------------

  If you'd like to add !SureLogic analysis to your Apache's project, you will need to configure
your build to automatically download and use annotation jar file to make your compiler aware
about these. It is simple enough to do thanks to Maven. You can take a look to [[HDFS-801|
to use its patch]] for your project as soon as it's committed.
  
  === Some examples of annotations and how to use them ===
- HDFS, MapReduce, and ZooKeeper already has some !SureLogic annotations in their source code.
Here's some examples from HDFS. 
+ HDFS, !MapReduce, and !ZooKeeper already has some !SureLogic annotations in their source
code. Here's some examples from HDFS. 
  
- First, you need to declare abstract annotation [http://surelogic.com/promises/apidocs/com/surelogic/Region.html|Region]
and declare all necessary [http://surelogic.com/promises/apidocs/com/surelogic/RegionLock.html|RegionLocks]:
+ First, you need to declare abstract annotation [[http://surelogic.com/promises/apidocs/com/surelogic/Region.html|Region]]
and declare all necessary [[http://surelogic.com/promises/apidocs/com/surelogic/RegionLock.html|RegionLocks]]:
  {{{#!java
  @Regions({@Region("HeartbeatState"),
  	@Region("DatanodeState")})
@@ -68, +68 @@

  
  !SureLogic analysis is going to be included to the test-patch process. This said new patches
are required not to raise !SureLogic warnings level (similar to the requirements about FindBugs
or javac).
  
- === Annotations retention policy =='em
+ === Annotations retention policy ===
  Annotations are part of the source code and needed for analysis purpose only. Thus, the
promises will be needed only during compile time and for development. A production code won't
include this jar file thus there won't be any impact on the final project's bits.
  
  === JIRA filing guidelines ===

Mime
View raw message