hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Takuya UESHIN <ues...@happy-camper.st>
Subject Re: Using external libraries in Coprocessor
Date Sat, 17 Mar 2012 08:47:58 GMT
Hi, Harsh.

Thank you for your reply.

> - Your single jar should contain all required dependencies.

You mean I can use 'lib' directory in coprocessor jar file?
If not, do you have any plan to make it possilble?

Thanks.


2012/3/17 Harsh J <harsh@cloudera.com>

> You need to follow the second approach ("Load from table attribute")
> to specify a jar path along with your coprocessor classes:
>
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/coprocessor/package-summary.html#load
> - Your single jar should contain all required dependencies.
>
> Otherwise, just place all your dependencies into the HBase classpath
> across cluster.
>
> On Sat, Mar 17, 2012 at 12:55 PM, Takuya UESHIN <ueshin@happy-camper.st>
> wrote:
> > Hi all,
> >
> > Is there any way for Coprocessors to use external libraries?
> >
> > Hadoop MapReduce can specify them by using -libjars command line
> > arguments or including 'lib' directory in job.jar file.
> > I also want to use external libraries in Coprocessors.
> >
> >
> > Thanks.
> >
> > --
> > Takuya UESHIN
> > Tokyo, Japan
> >
> > http://twitter.com/ueshin
>
>
>
> --
> Harsh J
>



-- 
Takuya UESHIN
Tokyo, Japan

http://twitter.com/ueshin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message