}
RowNumCallback rowNum = new RowNumCallback();
HTable table = null;
try {
table = new HTable(conf, tableName);
<BUG>table.coprocessorExec(AggregateProtocol.class, scan.getStartRow(),

scan.getStopRow(), new Batch.Call<AggregateProtocol, Long>() {
</BUG>
@Override

}
}, minCallBack);
} finally {
if (table != null) {
table.close();
}
