Re: Build failure in map reduce trunk

2011-08-28 Thread Praveen Sripati
Tharnindu, Execute mvn eclipse:eclipse from root and you would be able to import the projects in eclipse. Then it would be easier to browse the code easily. Thanks, Praveen On Sun, Aug 28, 2011 at 2:52 PM, Tharindu Mathew wrote: > Thanks for the explanation Arun. > > Created a post with the inf

Re: Build failure in map reduce trunk

2011-08-28 Thread Arun C Murthy
On Aug 28, 2011, at 3:47 AM, Tharindu Mathew wrote: > Arun, > > One of the main reasons I built the source is to start contributing. :) > Great, welcome! > Although, it's clear how to make code contributions in > http://wiki.apache.org/hadoop/HowToContribute. I'm a bit unclear on how to > mak

Re: Build failure in map reduce trunk

2011-08-28 Thread Tharindu Mathew
Arun, One of the main reasons I built the source is to start contributing. :) Although, it's clear how to make code contributions in http://wiki.apache.org/hadoop/HowToContribute. I'm a bit unclear on how to make documentation contributions. Do I just create a JIRA and attach a text file, so that

Re: Build failure in map reduce trunk

2011-08-28 Thread Arun C Murthy
I'd strongly encourage you to help out by providing documentation patches with similar content... thus, you'll help the project and future users. Thanks in advance! Arun On Aug 28, 2011, at 2:22 AM, Tharindu Mathew wrote: > Thanks for the explanation Arun. > > Created a post with the info gat

Re: Build failure in map reduce trunk

2011-08-28 Thread Tharindu Mathew
Thanks for the explanation Arun. Created a post with the info gathered here, so that it will help someone else as well: http://tharindu-mathew.blogspot.com/2011/08/building-apache-hadoop-from-source.html On Sun, Aug 28, 2011 at 1:32 PM, Arun C Murthy wrote: > Mathew, > > The native code, in t

Re: Build failure in map reduce trunk

2011-08-28 Thread Arun C Murthy
Mathew, The native code, in this context, is the C executable used to launch the containers (tasks) by the NodeManager. The short summary of the executable is that it's a setuid executable used to ensure that the unix process runs as the actual user who submitted the job, not as the unix user

Re: Build failure in map reduce trunk

2011-08-28 Thread Tharindu Mathew
Hi Praveen/Ravi, Thanks for all the help. It built successfully. I'm trying to get a feel about the project structure, build structure and map reduce. Is there a document I can read to understand about the use of native code and where it fits with the mapreduce project? On Fri, Aug 26, 2011 at 1

Re: Build failure in map reduce trunk

2011-08-25 Thread Ravi Teja
Hi Tharindu, I think it is trying to compile the native code. you can add -P-cbuild as argument to skip it, as mentioned earlier by Arun. Regards, Ravi Teja Thanks Praveen. I managed to proceed further. Now I'm stuck at this point. Appreciate if you can tell me what I'm doing wrong. Stacktrac

Re: Build failure in map reduce trunk

2011-08-25 Thread Ravi Teja
Hi Tharindu, I think it is trying to compile the native code. you can add -P-cbuild as argument to skip it, as mentioned earlier by Arun. Regards, Ravi Teja Thanks Praveen. I managed to proceed further. Now I'm stuck at this point. Appreciate if you can tell me what I'm doing wrong. Stacktrac

Re: Build failure in map reduce trunk

2011-08-25 Thread Praveen Sripati
Thairindu, Try to get more information for debugging. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. Thanks, Praveen On Fri, Aug 26, 2011 at 1:55 AM, Tharindu Mathew wrote: > Thanks Prav

Re: Build failure in map reduce trunk

2011-08-25 Thread Tharindu Mathew
Thanks Praveen. I managed to proceed further. Now I'm stuck at this point. Appreciate if you can tell me what I'm doing wrong. Stacktrace: [INFO] --- make-maven-plugin:1.0-beta-1:configure (make) @ hadoop-yarn-server-nodemanager --- [INFO] checking for a BSD-compatible install... /usr/bin/instal

Re: Build failure in map reduce trunk

2011-08-25 Thread Praveen Sripati
Tharindu, Looks like protoc is not available. --- Cannot run program "protoc" (in directory "HOME/hadoop-trunk/hadoop- mapreduce/hadoop-yarn/hadoop-yarn-api"): error=2, No such file or directory -> [Help 1] --- Here are instructions to build protoc See http://svn.apache.org/repos/asf/hadoop/com