{public boolean accept(Path file) {
return file.getName().endsWith(".evt");
} };
List<FileStatus> eventfiles = HierarchyDataType.globStatus(fs, demuxDir,filter,true);
FileStatus[] events = eventfiles.toArray(new FileStatus[eventfiles.size()]);
dataloader.load(conf, fs, events);
}
} catch(Exception e) {
log.error(ExceptionUtil.getStackTrace(e));
return false;
}