Hello everyone,
I am a beginner to HBase. I want to load a data file of 2 million lines
into a HBase table.
I want to load data as fast as possible, so I called
HTable.setAutoFlush(false) at the beginning. However, when I HTable.put() a
row and then HTable.get() the same row, the result is
Hi,
You could implement this in a code structure like so:
HTable table = new HTable(tableName, conf);
Put lastPut = null;
while ( moreData ) {
Put put = makeNewPutBasedOnLastPutToo( lastPut, dataSource );
table.put(put);
lastPut = put;
dataSource.next();
}
if that is
Hi Ryan,
Thank you for your reply. Actually, my source data file is a sequence of
triples. Each line is a triple of the form (k, p, v), which means the key k
has a property p whose value is v. A key k can have multiple different
properties and values. And the triples for the same key may not
Hi
We use 0.20.6
I tried to disable packageindex table. From master log:
2010-11-23 07:21:06,326 DEBUG
org.apache.hadoop.hbase.master.ChangeTableState: Adding region
packageindex,CC7E6FEA4CDCF19C6F4AC9BB51EF6A33,1290230596786 to setClosing
list for