I just use the assembly plugin with maven... I think you can do it pretty easily with ant as well though.
Cheers Tim On Tue, Jul 28, 2009 at 9:54 PM, Mark Kerzner<[email protected]> wrote: > By the way, could you recommend a script for packaging up the jar with all > dependencies? > > On Tue, Jul 28, 2009 at 2:28 PM, Mark Kerzner <[email protected]> wrote: > >> I am leaning towards packaging; I see this to be the simplest >> >> >> On Tue, Jul 28, 2009 at 2:25 PM, tim robertson >> <[email protected]>wrote: >> >>> A couple of ways I know of is to add them to the Hadoop classpath >>> itself in the env.sh or to package up your jar with all it's >>> dependencies. The later is the approach I take. >>> >>> Cheers >>> >>> Tim >>> >>> >>> On Tue, Jul 28, 2009 at 8:20 PM, Mark Kerzner<[email protected]> >>> wrote: >>> > Hi, >>> > take for example this line >>> > >>> > bin/hadoop jar /usr/joe/wordcount.jar org.myorg.WordCount >>> > /usr/joe/wordcount/input /usr/joe/wordcount/output >>> > >>> > How do I give additional jars? >>> > >>> > Thank you, >>> > Mark >>> > >>> >> >> >
