Hi, Harsh. Thank you for your reply and I understand. I don't think it's so important right now, but if I think so, I'll file a JIRA.
Anyway, thank you very much! 2012/3/17 Harsh J <[email protected]> > No, "Über" jars are not supported. The jar is merely injected onto the > classpath directly. > > Please file a JIRA if you consider it important that HBase coprocessor > hosts support Über jar loading. For the meanwhile, just create > exploded library jars, with all class files residing in the root, and > not under a lib/ subdir. > > On Sat, Mar 17, 2012 at 2:17 PM, Takuya UESHIN <[email protected]> > wrote: > > 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 <[email protected]> > > > >> 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 <[email protected] > > > >> 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 > > > > -- > Harsh J > -- Takuya UESHIN Tokyo, Japan http://twitter.com/ueshin
