Thursday, March 15, 2012

HBase groovy client dependency problem

My groovy HBase client had the following dependencies declared in grab

@Grab(group='org.apache.hbase', module='hbase', version='0.90.4')
@Grab(group='org.apache.hadoop', module='hadoop-core', version='0.20.2')

It threw the following exception

General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.apache.thrift#thrift;0.2.0: not found]

After adding the following grab resolver, it worked!

@GrabResolver(name='Apache Psmith', root='http://people.apache.org/~psmith/hbase/repo')



No comments:

Post a Comment