コード例 #1
0
ファイル: LocalClient.cs プロジェクト: kijungs/incubator-reef
 private LocalClient(
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(NumberOfEvaluators))] int numberOfEvaluators, JavaClientLauncher javaClientLauncher)
     : this(driverFolderPreparationHelper, Path.GetTempPath(), numberOfEvaluators, javaClientLauncher)
 {
     // Intentionally left blank.
 }
コード例 #2
0
ファイル: YARNClient.cs プロジェクト: zpqian/incubator-reef
 internal YARNClient(JavaClientLauncher javaClientLauncher,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     YarnCommandLineEnvironment yarn)
 {
     _javaClientLauncher = javaClientLauncher;
     _javaClientLauncher.AddToClassPath(yarn.GetYarnClasspathList());
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
 }
コード例 #3
0
ファイル: LocalClient.cs プロジェクト: kijungs/incubator-reef
 private LocalClient(DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(LocalRuntimeDirectory))] string runtimeFolder,
     [Parameter(typeof(NumberOfEvaluators))] int numberOfEvaluators, JavaClientLauncher javaClientLauncher)
 {
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _runtimeFolder = runtimeFolder;
     _numberOfEvaluators = numberOfEvaluators;
     _javaClientLauncher = javaClientLauncher;
 }
コード例 #4
0
ファイル: LocalClient.cs プロジェクト: LastOne817/reef
 private LocalClient(DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(LocalRuntimeDirectory))] string runtimeFolder,
     [Parameter(typeof(NumberOfEvaluators))] int maxNumberOfConcurrentEvaluators,
     IJavaClientLauncher javaClientLauncher,
     REEFFileNames fileNames)
 {
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _runtimeFolder = runtimeFolder;
     _maxNumberOfConcurrentEvaluators = maxNumberOfConcurrentEvaluators;
     _javaClientLauncher = javaClientLauncher;
     _fileNames = fileNames;
 }
コード例 #5
0
 private LocalClient(DriverFolderPreparationHelper driverFolderPreparationHelper,
     [Parameter(typeof(LocalRuntimeDirectory))] string runtimeFolder,
     [Parameter(typeof(NumberOfEvaluators))] int maxNumberOfConcurrentEvaluators,
     IJavaClientLauncher javaClientLauncher,
     REEFFileNames fileNames)
 {
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _runtimeFolder = runtimeFolder;
     _maxNumberOfConcurrentEvaluators = maxNumberOfConcurrentEvaluators;
     _javaClientLauncher = javaClientLauncher;
     _fileNames = fileNames;
     _localConfigurationOnDriver = TangFactory.GetTang().NewConfigurationBuilder().BindImplementation(GenericType<ILocalAddressProvider>.Class, GenericType<LoopbackLocalAddressProvider>.Class).Build();
 }
コード例 #6
0
ファイル: YARNREEFClient.cs プロジェクト: shulmanb/reef
 internal YarnREEFClient(IJavaClientLauncher javaClientLauncher,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     REEFFileNames fileNames,
     YarnCommandLineEnvironment yarn,
     IYarnRMClient yarnClient,
     YarnREEFParamSerializer paramSerializer)
 {
     _javaClientLauncher = javaClientLauncher;
     _javaClientLauncher.AddToClassPath(yarn.GetYarnClasspathList());
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _fileNames = fileNames;
     _yarnClient = yarnClient;
     _paramSerializer = paramSerializer;
 }
コード例 #7
0
 private YarnREEFDotNetClient(
     IYarnRMClient yarnRMClient,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     IJobResourceUploader jobResourceUploader,
     IYarnJobCommandProvider yarnJobCommandProvider,
     REEFFileNames fileNames,
     IJobSubmissionDirectoryProvider jobSubmissionDirectoryProvider)
 {
     _jobSubmissionDirectoryProvider = jobSubmissionDirectoryProvider;
     _fileNames = fileNames;
     _yarnJobCommandProvider = yarnJobCommandProvider;
     _jobResourceUploader = jobResourceUploader;
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _yarnRMClient = yarnRMClient;
 }
コード例 #8
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;
 }
コード例 #9
0
ファイル: YarnREEFDotNetClient.cs プロジェクト: beomyeol/reef
 private YarnREEFDotNetClient(
     IInjector injector,
     IYarnRMClient yarnRMClient,
     DriverFolderPreparationHelper driverFolderPreparationHelper,
     IJobResourceUploader jobResourceUploader,
     REEFFileNames fileNames,
     IJobSubmissionDirectoryProvider jobSubmissionDirectoryProvider,
     YarnREEFDotNetParamSerializer paramSerializer)
 {
     _injector = injector;
     _jobSubmissionDirectoryProvider = jobSubmissionDirectoryProvider;
     _fileNames = fileNames;
     _jobResourceUploader = jobResourceUploader;
     _driverFolderPreparationHelper = driverFolderPreparationHelper;
     _yarnRMClient = yarnRMClient;
     _paramSerializer = paramSerializer;
 }