Re: How to implement tests for python based application using Hbase-thrift interface

2012-01-31 Thread Stack
On Mon, Jan 30, 2012 at 3:13 AM, N Keywal nkey...@gmail.com wrote: Hi Damien, Can't say for the Python stuff. You can reuse or extract what you need in HBaseTestingUtility from the hbase test package, this will allow you to start a full Hbase mini cluster in a few lines of Java code.

How to implement tests for python based application using Hbase-thrift interface

2012-01-30 Thread Damien Hardy
Hello, I wrote some code in python using Hbase as image storage. I want my code to be tested independently of some external Hbase full architecture so my question is : Is there some howto helping on instantiate a temporary local minicluster + thrift interface in order to pass python (or maybe

Re: How to implement tests for python based application using Hbase-thrift interface

2012-01-30 Thread N Keywal
Hi Damien, Can't say for the Python stuff. You can reuse or extract what you need in HBaseTestingUtility from the hbase test package, this will allow you to start a full Hbase mini cluster in a few lines of Java code. Cheers, N. On Mon, Jan 30, 2012 at 11:10 AM, Damien Hardy