// }
private void createLzoIndex(String directory) {
try {
Configuration cfg = DFSUtils.getConf(directory, null);
lzoIndexer = new LzoIndexer(cfg);
int times = 1;
boolean idxCreated = false;
do {
logger.info("start to create lzo index file on " + directory