我试图在表中插入很多行(我的目标是插入十亿个虚拟行)。这就是我所做的:
./hbase shell < insert.sql
前几次插入很好,但很快就会遇到此错误
put 'test', 'row19115', 'cf:a', '19115'
ERROR: java.lang.OutOfMemoryError: unable to create new native thread
Here is some help for this command:
Put a cell 'value' at specified table/row/column and optionally
timestamp coordinates. To put a cell value into table 't1' at
row 'r1' under column 'c1' marked with the time 'ts1', do:
hbase> put 't1', 'r1', 'c1', 'value', ts1