Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 63773 invoked from network); 16 Dec 2009 23:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 23:55:26 -0000 Received: (qmail 42353 invoked by uid 500); 16 Dec 2009 23:55:25 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 42273 invoked by uid 500); 16 Dec 2009 23:55:25 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 42264 invoked by uid 500); 16 Dec 2009 23:55:25 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 42261 invoked by uid 99); 16 Dec 2009 23:55:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 23:55:25 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 23:55:23 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 88A3C17816; Wed, 16 Dec 2009 23:55:03 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 16 Dec 2009 23:55:03 -0000 Message-ID: <20091216235503.2032.52363@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Trivial_Update_of_=22HowToUseInjectionFramewo?= =?utf-8?q?rk=22_by_KonstantinBoudnik?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "HowToUseInjectionFramework" page has been changed by KonstantinBoudnik. http://wiki.apache.org/hadoop/HowToUseInjectionFramework?action=3Ddiff&rev1= =3D9&rev2=3D10 -------------------------------------------------- }}} As you can see above these two methods do the same thing. They are settin= g the probability level of {{{hdfs.datanode.BlockReceiver}}} at 12%. The di= fference, 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 scen= ario of fault injection. Faults might be initialized by other means as well= , i.e. setting certain static variables; instantiation of some objects, etc. + = + =3D=3D=3D=3D Could of hint =3D=3D=3D=3D + Eclipse provides very convenient environment for AspectJ development. How= ever, as everything with Eclipse, it has some issues. Here's three simple s= teps how to make your project AspectJ aware: + * 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. + = =3D=3D=3D=3D Additional Information and Contacts =3D=3D=3D=3D These two sources of information are particularly interesting and worth r= eading: =20