hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lohit <lohit.vijayar...@yahoo.com>
Subject Re: Contributing to hadoop
Date Thu, 26 Feb 2009 08:10:31 GMT

Another easy way to test your code is to write a testcase. You could follow any of the already
existing test HDFS test cases.
For example src/test/org/apache/hadoop/hdfs/server/namenode/TestFsck.java will tell you how
to create a cluster using MiniDFS with multiple DataNodes, creating files and also running
fsck programatically. If you would want to test something, you make the changes and run the
test. You could also run just one test alone by executing 
'ant -Dtestcase=TestFsck test'


----- Original Message ----
From: Ajit Ratnaparkhi <ajit.ratnaparkhi@gmail.com>
To: core-dev@hadoop.apache.org
Sent: Wednesday, February 25, 2009 11:23:56 PM
Subject: Re: Contributing to hadoop


Can you please tell me how to run multiple datanodes on one machine.


On Thu, Feb 26, 2009 at 9:23 AM, Pradeep Fernando <pradeepfn@gmail.com>wrote:

> Raghu,
> I guess you are asking if it would be more convenient if one had access to
> a
> > larger cluster for development.
> exactly.....
>  I have access to many machines and clusters.. but about 99% of my
> > development happens using single machine for testing. I would guess that
> is
> > true for most of the Hadoop developers.
> well this is the answer I was looking for....  :D
> seems to be I have enough resources to contribute to this project.
> Thanks a lot raghu.
> regards,
> Pradeep Fernando.

View raw message