On Thu, Aug 19, 2010 at 4:42 PM, Guilherme Germoglio <[email protected]> wrote: > Hello, > > Related to (2), the closest to what you want is > org.apache.hadoop.hbase.HBaseTestingUtility. It isn't completely in memory > (it performs some I/O and it is quite slow to unit tests standards because > of that), but you can start and stop a server programmatically and it is > very useful when automating tests. > > You can find code that uses it in src/test/java/org/apache/hadoop/hbase/.
Thanks Guilherme for the pointer. I can't find any JavaDoc so will have a look at the test cases to checkout its usage. /Imran > > On Thu, Aug 19, 2010 at 1:57 AM, Imran M Yousuf <[email protected]> wrote: > >> Hi, >> >> I need some clarification on the following issues - >> >> 1. TransactionalTable seems to be present in the current API docs, >> does that mean it will be present in the course of 0.89 and continue >> to 0.90? >> >> 2. Is there a way to start up a single node in memory HBase server >> programatically? I want to do it from a JUnit class to use it from >> within some tests. Where can I find some sample code in this regard? >> >> Thank you, >> >> -- >> Imran M Yousuf >> Blog: http://imyousuf-tech.blogs.smartitengineering.com/ >> Mobile: +880-1711402557 >> > > > > -- > Guilherme > > msn: [email protected] > homepage: http://sites.google.com/site/germoglio/ > -- Imran M Yousuf Blog: http://imyousuf-tech.blogs.smartitengineering.com/ Mobile: +880-1711402557
