Hi Min, look at the unit tests which make use of MiniDFSCluster -- you can run those in debug mode and step through the code, and they include a bunch of use cases. That's generally much easier than running all of the different services and debugging each separately.
On Mon, Sep 13, 2010 at 9:30 PM, Min Long <lo...@cn.ibm.com> wrote: > Thanks for help. I could check out codes. Are there any documentation for > setting up debug environment for HDFS? Should Single Node HDFS be set up > for debug purpose? Should Hadoop Common codes be checked out for > running/debugging HDFS? Or can HDFS alone be enough for run/debug? Sorry > for the simple questions. Hope to get reply or any advice to new comer for > HDFS. > > Best Regards, > Min (Catherine) Long > IBM China Systems and Technology Lab > > > > > <christopher.sh...@sungard.com> > 09/13/2010 11:25 AM > Please respond to > hdfs-dev@hadoop.apache.org > > > To > <hdfs-dev@hadoop.apache.org> > cc > > Subject > Re: I am a new comer and have a question about HDFS code check out > > > > > > > You need to use Git (http://git-scm.com). It is a source control tool like > CVS, but better suited to large distributed projects. > > > ----- Original Message ----- > From: Min Long <lo...@cn.ibm.com> > To: hdfs-dev@hadoop.apache.org <hdfs-dev@hadoop.apache.org> > Sent: Sun Sep 12 23:13:34 2010 > Subject: Re: I am a new comer and have a question about HDFS code check > out > > Thanks for reply. But I find the codes are not zipped, so not to be > downloaded at one shot. Can I check out the code via CVS? If so, what's > the server configuration and directory info for downloading the codes via > CVS? Sorry for the simple question. Hope to get your reply. Thanks. > > Best Regards, > Min (Catherine) Long > IBM China Systems and Technology Lab >