/** * Number of threads allocated per evaluator to dispatch events from that Evaluator. */ @NamedParameter( doc = "Number of threads allocated per evaluator to dispatch events from that Evaluator.", default_value = "1") public final class EvaluatorDispatcherThreads implements Name<Integer> { private EvaluatorDispatcherThreads() { } }
@DefaultImplementation(YarnContainerRequestHandlerImpl.class) public interface YarnContainerRequestHandler { /** * Enqueue a set of container requests with YARN. * * @param containerRequests */ void onContainerRequest(final AMRMClient.ContainerRequest... containerRequests); }
/** * The path to the clock configuration */ @NamedParameter(doc = "The path to process configuration.", short_name = ClockConfigurationPath.SHORT_NAME) public final class ClockConfigurationPath implements Name<String> { public static final String SHORT_NAME = "runtime_configuration"; }
/** * Files to be made accessible on the Driver only. */ @NamedParameter(doc = "Files to be made accessible on the Driver only.") public final class DriverLocalFiles implements Name<Set<String>> { private DriverLocalFiles() { } }
/** * Context identifier. */ @NamedParameter(doc = "The identifier for the context.") public final class ContextIdentifier implements Name<String> { }
/** * Client EventHandler triggered on resource manager error. */ @NamedParameter(doc = "Client EventHandler triggered on resource manager error.", default_classes = DefaultRuntimeErrorHandler.class) public final class ResourceManagerErrorHandler implements Name<EventHandler<FailedRuntime>> { private ResourceManagerErrorHandler() { } }
/** * The evaluator root context configuration. */ @NamedParameter(doc = "The evaluator root context configuration.") public final class RootContextConfiguration implements Name<String> { private RootContextConfiguration() { } }
/** * Libraries to be made accessible on the Driver and all Evaluators. */ @NamedParameter(doc = "Libraries to be made accessible on the Driver and all Evaluators.") public final class JobGlobalLibraries implements Name<Set<String>> { private JobGlobalLibraries() { } }
/** * Suspended task handler. */ @NamedParameter(doc = "Suspended task handler.", default_classes = DefaultTaskSuspensionHandler.class) public final class TaskSuspendedHandlers implements Name<Set<EventHandler<SuspendedTask>>> { private TaskSuspendedHandlers() { } }
@NamedParameter(doc = "House the implementation for re-connecting to driver after driver restart", default_classes = DefaultDriverConnection.class) public static final class DriverReconnect implements Name<DriverConnection> { } }
/** * Called when an allocated evaluator is given to the client. */ @NamedParameter(doc = "Called when an allocated evaluator is given to the client.") public final class ServiceEvaluatorAllocatedHandlers implements Name<Set<EventHandler<AllocatedEvaluator>>> { private ServiceEvaluatorAllocatedHandlers() { } }
/** * Task failure handler. */ @NamedParameter(doc = "Task failure handler.") public final class ServiceTaskFailedHandlers implements Name<Set<EventHandler<FailedTask>>> { private ServiceTaskFailedHandlers() { } }
/** * HttpEventHandlers */ @NamedParameter(doc = "Http Event Handlers") public class HttpEventHandlers implements Name<Set<HttpHandler>> { }
/** * The names of files that are to be copied to all evaluators. */ @NamedParameter(doc = "The names of files that are to be copied to all evaluators.") public final class GlobalLibraries implements Name<Set<String>> { }
/** * The names of files that are to be copied to all evaluators. */ @NamedParameter(doc = "The names of files that are to be copied to all evaluators.") public final class GlobalFiles implements Name<Set<String>> { }
/** * The Storage account key to be used by Azure. */ @NamedParameter(doc = "The Storage account key to be used by Azure") public final class AzureStorageAccountKey implements Name<String> { }
/** * The username to be used for connecting to hdinsight. */ @NamedParameter(doc = "The username to be used for connecting to hdinsight.") public final class HDInsightUsername implements Name<String> { }
/** * Driver Identifier */ @NamedParameter(doc = "Driver Identifier", default_value = "Unnamed REEF Job") public final class DriverIdentifier implements Name<String> { private DriverIdentifier() { } }
/** * Client EventHandler triggered on remote job failure. */ @NamedParameter(doc = "Client EventHandler triggered on remote job failure.", default_classes = DefaultFailedJobHandler.class) public final class JobFailedHandler implements Name<EventHandler<FailedJob>> { private JobFailedHandler() { } }
/** * Handles message from the Client. */ @NamedParameter(doc = "Handles message from the Client.", default_classes = DefaultClientMessageHandler.class) public final class ClientMessageHandlers implements Name<Set<EventHandler<byte[]>>> { private ClientMessageHandlers() { } }