how to complie &package my hadoop?
hi,all I modify some code in hadoop. but i'm not good at ant or maven.what cmd should i enter in linux shell to build a new hadoop-*.jar to test my code?
Re: how to complie &package my hadoop?
What version are you modifying? If its 0.20 based, simply do "ant jar" and then look for a built jar under build/. On Thu, Nov 17, 2011 at 3:57 PM, seven garfee wrote: > hi,all > I modify some code in hadoop. > but i'm not good at ant or maven.what cmd should i enter in linux shell > to build a new hadoop-*.jar to test my code? > -- Harsh J
Re: how to complie &package my hadoop?
thx my version is 0.20.2 and is there any resouces i can refer? 2011/11/17 Harsh J > What version are you modifying? > > If its 0.20 based, simply do "ant jar" and then look for a built jar > under build/. > > On Thu, Nov 17, 2011 at 3:57 PM, seven garfee > wrote: > > hi,all > > I modify some code in hadoop. > > but i'm not good at ant or maven.what cmd should i enter in linux shell > > to build a new hadoop-*.jar to test my code? > > > > > > -- > Harsh J >
Re: how to complie &package my hadoop?
some code in hadoop as in? well you can read http://svn.apache.org/repos/asf/hadoop/common/trunk/BUILDING.txt basically to build entire repo and make distributions. mvn clean package -Pdist -Dtar -DskipTests you will find all the jars/tars etc. On Thu, Nov 17, 2011 at 3:57 PM, seven garfee wrote: > hi,all > I modify some code in hadoop. > but i'm not good at ant or maven.what cmd should i enter in linux shell > to build a new hadoop-*.jar to test my code? >