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] Trivial Update of "HowToUseInjectionFramework" by KonstantinBoudnik
Date Wed, 16 Dec 2009 23:55:03 GMT
Dear Wiki user,

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

The "HowToUseInjectionFramework" page has been changed by KonstantinBoudnik.


  As you can see above these two methods do the same thing. They are setting the probability
level of {{{hdfs.datanode.BlockReceiver}}} at 12%. The difference, however, is that the program
provides more flexibility and allows you to turn a fault off when a test no longer needs it.
+ It should be clear that random faults aren't the only possible usage scenario of fault injection.
Faults might be initialized by other means as well, i.e. setting certain static variables;
instantiation of some objects, etc.
+ ==== Could of hint ====
+ Eclipse provides very convenient environment for AspectJ development. However, as everything
with Eclipse, it has some issues. Here's three simple steps how to make your project AspectJ
+  * Using project property convert it to AspectJ project
+  * Re-insert 'Ant builder' as explained in EclipseEnvironment
+  * Close and re-open open the project
+ After that you suppose to have type completion, syntax highlighting, and cross-references
working for both .java and .aj files.
  ==== Additional Information and Contacts ====
  These two sources of information are particularly interesting and worth reading:

View raw message