hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans" <jdcry...@apache.org>
Subject Re: create table is time consuming
Date Sat, 15 Nov 2008 17:59:50 GMT

Just delete all rows in your tables. Unless you create thousands of rows, it
should be faster.


On Sat, Nov 15, 2008 at 5:27 AM, Przemek <przemek@subrecord.org> wrote:

> Hi,
> I would like to ask about a potential workaround/pattern. Let's say you
> have a schema with 10 tables and want to have unit tests with embedded
> HBase (similar way as in HBase tests). The way we do that is having
> @Before that starts the cluster and then something like init method for
> creating tables that test methods need. Finally @After closes the
> cluster. The problem is that creating tables via admin.createTable()
> takes too much time. It is about a few or more seconds per each table
> (visibly slow). The question is how can I speed up that process?
> Przemek
> --
> SubRecord - Enterprise Aspects Stack
> http://subrecord.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message