1) how to setup your development environment, for example:
2) do a clean build and test from command line to make sure everything
works without eclipse, example
ant clean package -Djava5.home=/usr/java/jdk1.5.0_22
3) build an eclipse project
4) import the project in to eclipse
file->import->general->"existing project into workspace"
5) Change eclipse jre to point to your sdk if needed.
6) add ANT_HOME to your eclipse enviroment
7) build the project clean
8) if debugging junit testcases add below argument to your "VM Argument" in
your "debug configuration".
-Dhadoop.log.file=hadoop.log -Xmx500m -XX:+DumpOnOutOfMemoryError
I might have missed a step :) , let me know if it helped
System Management Architect
PowerLinux Open Source Hadoop development lead
IBM Senior Software Engineer
-----Karthiek C <[EMAIL PROTECTED]> wrote: -----
To: [EMAIL PROTECTED]
From: Karthiek C <[EMAIL PROTECTED]>
Date: 02/01/2013 08:45AM
Subject: Re: Help to setup latest Hadoop source code on Eclipse
That's great! So far I tried using trunk code. But 1.1.x works for me. Can
you please help me out? My purpose is to debug through hadoop's default
scheduler code and schedulers like fair share scheduler.
And thanks for the advice Harsh. I could generate eclipse project files
using the maven commands you gave, but couldn't get the project running in
On Fri, Feb 1, 2013 at 9:16 AM, Amir Sanjar <[EMAIL PROTECTED]> wrote:
> what version of hadoop are you using? I have been debugging hadoop 1.1.x
> source code using eclipse everyday. If you are using similar version, I
> might be able to help.
> Best Regards
> Amir Sanjar
> System Management Architect
> PowerLinux Open Source Hadoop development lead
> IBM Senior Software Engineer
> Phone# 512-286-8393
> Fax# 512-838-8858