kamaldeep : Here is list of HA related tests: http://pastebin.com/uFnNdGwR
FYI On Mon, Jan 5, 2015 at 8:22 AM, Ravi Prakash <[email protected]> wrote: > Hi Kamal! > > Thanks for your initiative. Please take a look at MiniDFSCluster / > MiniJournalCluster / MiniYarnCluster etc. In your unit tests you can > essentially start a cluster in a single JVM. You can look at > TestQJMWithFaults.java > > HTH > Ravi > > > On Sunday, January 4, 2015 10:09 PM, kamaldeep singh < > [email protected]> wrote: > > > Hi , > > I'm a beginner to writing unit tests in hadoop. > > > As per https://wiki.apache.org/hadoop/HowToDevelopUnitTests the > Hadoop Unit tests are all designed to work on a local machine, rather than > a full-scale Hadoop cluster. > > However i do see the Hadoop-QA > https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hadoopqa also > runs unit test cases when it validates a patch for any issue like > https://issues.apache.org/jira/browse/YARN-2459?focusedCommentId=14115586&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14115586 > > So does this mean it runs unit tests only in single node / local setup for > validating any patches ? > > I wish to write some unit tests in a HA env thus i need test in a cluster > setup > > Thanks, > Kamal > > >
