logger.debug("Execute returning the scanner " + scanner);
return scanner;
} catch (Exception e) {
e.printStackTrace();
throw new CruxException(e);
} finally {
if (hTablePool != null) {
try {
if (hTable != null) {
hTablePool.putTable(hTable);
}
hbaseConnectionPool.returnObject(conn, hTablePool);
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
throw new CruxException(e1);
}
}
}