hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Faruk Berksöz <fberk...@gmail.com>
Subject batch insert performance
Date Sat, 26 May 2012 23:53:43 GMT
Hi, HBase users,

I have 250.000 Rows in a list.
I want to insert all rows in HTable as soon as possible.
I have 3 different Code and 3 different elapsed time.
Why HTable.batch(List<? extends Row> actions, Object[] results) and
HTable.put(List<Put>
puts) methods 4 times slower than 1.Code which inserts records to htable in
a simple loop ?
Codes and their results :






Faruk

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