Re: How to Build Hadoop code in eclipse

2010-08-11 Thread Ahmad Shahzad
Hi All, I wanted to ask a related question to this one. How would you set up hadoop on eclipse if you dont want to download it from svn, rather you just want to configure a stable release e.g 0.20.2 on eclipse. So, i want to configure a stable release on eclipse and add/change the code i

HELP !!!! configuring hadoop on ECLIPSE

2010-08-11 Thread Ahmad Shahzad
Hi All, How can i configure hadoop on eclipse for development purpose. I dont want to download hadoop from trunk and use svn. I have a stable hadoop 0.20.2 release tar file. I want to use this tar file to set up hadoop on eclipse and than add/change some files in hadoop and build it using

Re: HELP !!!! configuring hadoop on ECLIPSE

2010-08-11 Thread Saikat Kanjilal
Here's how you can proceed: 1) untar your release to some directory 2) create a new java project in eclipse and associate the source subfolders of the eclipse project and associate that with the hadoop source subdirectory 3) now open up the eclipse ant targets and you should be able to run any of

Re: JIRA 6891

2010-08-11 Thread Saikat Kanjilal
Thank you, I'll check out the trunk code and move my changes in there. Sent from my iPhone On Aug 10, 2010, at 9:57 PM, Amareshwari Sri Ramadasu wrote: > > Saikat, are you working on branch 0.20 instead of trunk? MultiFileWordCount > in branch 0.20 does not work as far as I remember. You sho

Response

2010-08-11 Thread Saikat Kanjilal
> Amareshwari et al, > A couple of follow up questions, I did an svn checkout inside eclipse for the > trunk code and I don't see any of the test examples in the trunk code > including MultiFileWordCount. So my questions are the following: > > 1) For JIRA 6891 should I merge my changes and in

Re: HELP !!!! configuring hadoop on ECLIPSE

2010-08-11 Thread Ahmad Shahzad
Hi Saikat, Can you please provide more detail on how to do it. I tried creating a new java project, but i dont know how to associate hadoop source folders. Secondly, i tried creating eclipse project from existing an Ant buildfile and gives it hadoop build file that is in hadoop dir

Re: HELP !!!! configuring hadoop on ECLIPSE

2010-08-11 Thread Harsh J
Hi, If all you want to do is to write programs that use your stable hadoop libraries, have a look at the Hadoop Eclipse plugin that comes along (inside contrib folders). If you want your stable hadoop as a project inside your eclipse itself, run `ant eclipse` in the hadoop's extracted directory (

Re: How to Build Hadoop code in eclipse

2010-08-11 Thread Harsh J
Running the `ant eclipse-files` target will give you nearly usable .project and .classpath files. Import the Hadoop project into Eclipse using these. Or you could always checkout a stable branch/tag via SVN and go ahead with the original wiki instructions :) On Wed, Aug 11, 2010 at 6:02 PM, Ahmad

Re: HELP !!!! configuring hadoop on ECLIPSE

2010-08-11 Thread Ahmad Shahzad
Hi Harsh, On Wed, Aug 11, 2010 at 6:46 PM, Harsh J wrote: > Hi, > > > >If you want your stable hadoop as a project inside your eclipse > >itself, run `ant eclipse` in the hadoop's extracted directory (or was > >it eclipse-files?) and then import the folder using the 'Existing > >Projects into W

[jira] Created: (HADOOP-6913) Circular initialization between UserGroupInformation and KerberosName

2010-08-11 Thread Kan Zhang (JIRA)
Circular initialization between UserGroupInformation and KerberosName - Key: HADOOP-6913 URL: https://issues.apache.org/jira/browse/HADOOP-6913 Project: Hadoop Common Issue