Exemplo n.º 1
0
 private LocalClient(
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(NumberOfEvaluators))] int numberOfEvaluators, JavaClientLauncher javaClientLauncher)
     : this(driverFolderPreparationHelper, Path.GetTempPath(), numberOfEvaluators, javaClientLauncher)
 {
     // Intentionally left blank.
 }
Exemplo n.º 2
0
 internal YARNClient(JavaClientLauncher javaClientLauncher,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     YarnCommandLineEnvironment yarn)
 {
     _javaClientLauncher = javaClientLauncher;
     _javaClientLauncher.AddToClassPath(yarn.GetYarnClasspathList());
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
 }
Exemplo n.º 3
0
 private LocalClient(DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(LocalRuntimeDirectory))] string runtimeFolder,
     [Parameter(typeof(NumberOfEvaluators))] int numberOfEvaluators, JavaClientLauncher javaClientLauncher)
 {
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _runtimeFolder = runtimeFolder;
     _numberOfEvaluators = numberOfEvaluators;
     _javaClientLauncher = javaClientLauncher;
 }
Exemplo n.º 4
0
 internal YarnREEFClient(JavaClientLauncher javaClientLauncher,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     REEFFileNames fileNames,
     YarnCommandLineEnvironment yarn,
     [Parameter(typeof(SecurityTokenKindParameter))] string securityTokenKind,
     [Parameter(typeof(SecurityTokenServiceParameter))] string securityTokenService,
     [Parameter(typeof(JobSubmissionDirectoryPrefixParameter))] string jobSubmissionPrefix)
 {
     _jobSubmissionPrefix = jobSubmissionPrefix;
     _securityTokenKind = securityTokenKind;
     _securityTokenService = securityTokenService;
     _javaClientLauncher = javaClientLauncher;
     _javaClientLauncher.AddToClassPath(yarn.GetYarnClasspathList());
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _fileNames = fileNames;
 }