|
@@ -111,6 +111,9 @@ public class SLSFairScheduler extends FairScheduler
|
|
|
schedulingRequests, containerIds,
|
|
|
blacklistAdditions, blacklistRemovals, updateRequests);
|
|
|
return allocation;
|
|
|
+ } catch (Exception e) {
|
|
|
+ LOG.error("Caught exception from allocate", e);
|
|
|
+ throw e;
|
|
|
} finally {
|
|
|
context.stop();
|
|
|
schedulerMetrics.increaseSchedulerAllocationCounter();
|