HBase Checklist:

  • Reliably store terabytes of data across umpteen cloudy shards?   Check. 
  • Backend for all your map reduce needs?   Check. 
  • Failover across region servers?   Check. 
  • Still work locally after your laptop goes to sleep?   Not so much. 

One repercussion of HBase's recalcitrance is that I find local development can be a bit of a pita when tests written against an HBase instance that needs a restarting everytime I get coffee.

Beyond that it would be nice to be able to write some unit tests against HBase and not worry about configuring it. What I really want is a Mock implementation of HBase that just runs in memory.

Mocking HBase for fun & Profit

Happily there's a great gist out there which does just this. Thanks, Internet, you're the best. And here's the gist https://gist.github.com/agaoglu/613217. I'm not sure if it's perfect, but it's worked for whatever I've thrown at it so far.

Loading ....