@Override public Boolean call() throws HNodeNotFoundKarmaException, ValueNotFoundKarmaException, NoValueFoundInNodeException { try{ latch.await(); } catch (Exception e ) { LOG.error("Error while waiting for dependent triple maps to process", e); notifyDependentTriplesMapWorkers(); return false; } LOG.debug("Processing " + triplesMap.getId() + " " +triplesMap.getSubject().getId()); try { plan.execute(r, outWriters); } catch (Exception e) { e.printStackTrace(); LOG.error("Something went wrong " + e.getMessage() ); } LOG.debug("Processed " + triplesMap.getId() + " " +triplesMap.getSubject().getId()); notifyDependentTriplesMapWorkers(); return true; }