Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ghopson on github.
* I am ghopson (https://keybase.io/ghopson) on keybase.
* I have a public key whose fingerprint is B7E9 D111 4A1A 785D 5C94 B988 1C94 F9FC 1735 32E2
To claim this, I am signing this object:
@ghopson
ghopson / HbaseSpec.groovy
Last active August 29, 2015 14:15
Spock specification that calls HBase via REST api
import grails.converters.JSON
import grails.plugins.rest.client.RestBuilder
import org.apache.http.HttpStatus
import org.codehaus.groovy.grails.web.json.JSONArray
import spock.lang.Specification
/**
* Install hadoop, hbase using brew or something
* start up both
* ensure you can do hbase shell etc.