found out the issue.. I am using storm to pass down array in the bolt, and the array is not threadsafe.. Chen
On Wed, Jul 16, 2014 at 12:03 PM, Chen Wang <[email protected]> wrote: > 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 >
