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')



Monday, January 23, 2012

How to download readonly code from github (using git command)

You might be tempted to do a 'anonymous checkout', but in git you need to clone like this:

git clone https://github.com/tc/cascading-scala-maven-example.git