To install hadoop, you don’t need to compile it. Just extract all the files from tar.gz and put it into right place. (Source: http://www.danielbit.com/blog/tools-for-linux/install-hadoop-on-ubuntu)
On Sun, Oct 20, 2013 at 10:48 AM, Viswanathan J <jayamviswanat...@gmail.com>wrote: > Hi Ted, > > Thanks for your response. I'm running on Ubuntu, jar built successfully. > > But the jar generated as snapshot version. Also the source which I > compiled was 1.2.1 but it generated as 1.2.2 snapshot version jar. Is the > snapshot version because of changes in the source? > > Shall I use that jar in production environment? If yes will that not any > issue. > > Please help. > > Thanks, > On Oct 20, 2013 7:59 PM, "Ted Yu" <yuzhih...@gmail.com> wrote: > >> Can you tell us which OS you're using ? >> >> What was the error(s) when you ran "ant jar" ? >> >> On my Mac, "ant jar" works. >> >> Cheers >> >> >> On Sun, Oct 20, 2013 at 1:58 AM, Viswanathan J < >> jayamviswanat...@gmail.com> wrote: >> >>> Hi, >>> >>> Please help to compile the source code of Apache hadoop using mvn or ant. >>> >>> I just tried to download the latest hadoop stable source and run "ant >>> jar" but it is not compiling getting errors. >>> >>> -- >>> Regards, >>> Viswa.J >>> >> >>