private ZooCache zooCache;
public RecoveryManager(Master master) {
this.master = master;
executor = Executors.newScheduledThreadPool(4, new NamingThreadFactory("Walog sort starter "));
zooCache = new ZooCache();
try {
List<String> workIDs = new DistributedWorkQueue(ZooUtil.getRoot(master.getInstance()) + Constants.ZRECOVERY).getWorkQueued();
sortsQueued.addAll(workIDs);
} catch (Exception e) {
log.warn(e, e);