-Re: Is there any way to add jar when invoking hadoop command
Jeff Zhang 2011-03-23, 02:01
Actually I don't use the jar for mapreduce job. I only need it to display
On Wed, Mar 23, 2011 at 9:41 AM, James Seigel <[EMAIL PROTECTED]> wrote:
> Hello, some quick advice for you....
> which portion of your job needs the jar? if answer = mapper or reducer,
> then add it to the -libjars flag.
> If it is in the job initiation..bundle it in your job jar for fun.
> On 2011-03-22, at 7:35 PM, Jeff Zhang wrote:
> > Another work around I can think of is that have my own copy of hadoop,
> > copy extra jars to my hadoop. But it result into more maintenance effort
> > On Wed, Mar 23, 2011 at 9:19 AM, Jeff Zhang <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >> When I use command "hadoop fs -text" I need to add extra jar to
> >> because there's custom type in my sequence file. One way is that copying
> >> to $HADOOP_HOME/lib
> >> But in my case, I am not administrator, so I do not have the permission
> >> copy files under $HADOOP_HOME/lib
> >> Is there any other ways to add extra jar to CLASSPATH ?
> >> --
> >> Best Regards
> >> Jeff Zhang
> > --
> > Best Regards
> > Jeff Zhang