[ 
https://issues.apache.org/jira/browse/HDFS-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098081#comment-14098081
 ] 

George Wong commented on HDFS-6819:
-----------------------------------

MiniDFSCluster is very useful for testing. 
I saw that we also have some classes like DataNodeFaultInjector and 
JournalFaultInjector. Looks like they can meet my requirement too.

My question is that what is the common practice for injecting fault ?
When I need to inject some code in DataNode, shall I add a method in 
DataNodeFaultInjector and call the method where I want to inject error?

> make HDFS fault injection framework working with maven
> ------------------------------------------------------
>
>                 Key: HDFS-6819
>                 URL: https://issues.apache.org/jira/browse/HDFS-6819
>             Project: Hadoop HDFS
>          Issue Type: Task
>            Reporter: George Wong
>            Assignee: George Wong
>
> In current trunk code repo, the FI framework does not work. Because maven 
> build process does not execute the AspectJ injection.
> Since FI is very useful for testing and bug reproduce, it is better to make 
> FI framework working in the trunk code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to