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
