Hi folks,
I am calling batch get

Object[] result = new Object[getList.size()];

mytab.batch(getList,result);

where getList is a list of Get with row key,CF, and CQ

and it throws exception:

java.lang.IllegalArgumentException: argument results must be the same size
as argument list

at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1415)

at org.apache.hadoop.hbase.client.HTable.batch(HTable.java:702)

at org.apache.hadoop.hbase.client.HTable.get(HTable.java:671)

I assume its because some row keys do not exist in the table. In this case,
how can I get existing rows back?

Thanks,

Chen

Reply via email to