This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Static Public Attributes | List of all members
Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration Class Reference

Inherits Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder.

Static Public Attributes

static readonly RequiredParameter< string > HDInsightUsernameParameter = new RequiredParameter<string>()
 
static readonly RequiredParameter< string > HDInsightUrlParameter = new RequiredParameter<string>()
 
static readonly RequiredParameter< string > JobSubmissionDirectoryPrefix = new RequiredParameter<string>()
 
static readonly OptionalParameter< string > HDInsightPasswordParameter = new OptionalParameter<string>()
 
static readonly OptionalParameter< SecureString > HDInsightSecurePasswordParameter
 
static ConfigurationModule ConfigurationModule
 Provides ConfigurationModule to be used to obtain IREEFClient to submit REEF application to HDInsight. More...
 

Additional Inherited Members

- Public Member Functions inherited from Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder
 ConfigurationModuleBuilder ()
 
ConfigurationModuleBuilder Merge (ConfigurationModule d)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, string impl)
 
ConfigurationModuleBuilder BindSetEntry< U, V, T > (GenericType< U > iface, GenericType< V > impl)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, IImpl< T > opt)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, IParam< T > opt)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IList< string > impl)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IImpl< IList< T >> opt)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IParam< IList< T >> opt)
 
ConfigurationModuleBuilder BindImplementation< U, T > (GenericType< U > iface, GenericType< T > impl)
 
ConfigurationModuleBuilder BindImplementation< T > (GenericType< T > iface, string impl)
 
ConfigurationModuleBuilder BindImplementation< U, T > (GenericType< T > iface, IImpl< U > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > name, string value)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > name, IParam< T > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, V, T > (GenericType< U > iface, GenericType< V > impl)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > iface, GenericType< T > impl)
 
ConfigurationModuleBuilder BindNamedParameter< U, V, T > (GenericType< U > iface, IImpl< V > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > iface, IImpl< T > opt)
 
ConfigurationModuleBuilder BindConstructor< T, U > (GenericType< T > clazz, GenericType< U > constructor)
 
ConfigurationModuleBuilder BindConstructor< T, U > (GenericType< T > cons, IImpl< U > v)
 
ConfigurationModule Build ()
 
ConfigurationModuleBuilder DeepCopy ()
 
string ToString (ISet< FieldInfo > s)
 
- Public Attributes inherited from Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder
readonly ICsConfigurationBuilder B = TangFactory.GetTang().NewConfigurationBuilder()
 
readonly MonotonicHashSet< FieldInfo > ReqDecl = new MonotonicHashSet<FieldInfo>()
 
readonly MonotonicHashSet< FieldInfo > OptDecl = new MonotonicHashSet<FieldInfo>()
 
readonly MonotonicHashSet< object > SetOpts = new MonotonicHashSet<object>()
 
readonly MonotonicHashMap< object, FieldInfo > Map = new MonotonicHashMap<object, FieldInfo>()
 
readonly MonotonicHashMap< Type, object > FreeImpls = new MonotonicHashMap<Type, object>()
 
readonly MonotonicHashMap< Type, object > FreeParams = new MonotonicHashMap<Type, object>()
 

Member Data Documentation

ConfigurationModule Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.ConfigurationModule
static
Initial value:
= new HDInsightClientConfiguration()
.BindNamedParameter(GenericType<HDInsightUrl>.Class, HDInsightUrlParameter)
.BindNamedParameter(GenericType<HDInsightUserName>.Class, HDInsightUsernameParameter)
.BindNamedParameter(GenericType<HDInsightPasswordSecureString>.Class,
.BindNamedParameter(GenericType<JobSubmissionDirectoryPrefixParameter>.Class,
.BindNamedParameter(GenericType<HDInsightPasswordString>.Class, HDInsightPasswordParameter)
.BindImplementation(GenericType<IREEFClient>.Class, GenericType<YarnREEFDotNetClient>.Class)
.BindImplementation(GenericType<IYarnRestClientCredential>.Class,
GenericType<HDInsightCredential>.Class)
.BindImplementation(GenericType<IUrlProvider>.Class, GenericType<HDInsightUrlProvider>.Class)
.BindImplementation(GenericType<IJobResourceUploader>.Class,
GenericType<FileSystemJobResourceUploader>.Class)
.BindImplementation(GenericType<IYarnCommandLineEnvironment>.Class,
GenericType<HDInsightCommandLineEnvironment>.Class)
.BindImplementation(GenericType<IResourceFileRemoteUrlToClusterUrlConverter>.Class,
GenericType<HDInsightResourceFileRemoteUrlToClusterUrlConverter>.Class)
.Merge(AzureBlockBlobFileSystemConfiguration.ConfigurationModule)
.Build()

Provides ConfigurationModule to be used to obtain IREEFClient to submit REEF application to HDInsight.

Sample usage: <![CDATA[ const string connectionString = "ConnString"; var config = HDInsightClientConfiguration.GetConfigurationModule(azureBlockBlobConfig) .Set(AzureBlockBlobFileSystemConfiguration.ConnectionString, connectionString) .Set(HDInsightClientConfiguration.HDInsightUsernameParameter, "foo") .Set(HDInsightClientConfiguration.HDInsightUrlParameter, @"https://bar.azurehdinsight.net/") ...; var client = TangFactory.GetTang().NewInjector(config).GetInstance<IREEFClient>(); ]]>

readonly OptionalParameter<string> Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.HDInsightPasswordParameter = new OptionalParameter<string>()
static
readonly OptionalParameter<SecureString> Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.HDInsightSecurePasswordParameter
static
Initial value:
=
new OptionalParameter<SecureString>()
readonly RequiredParameter<string> Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.HDInsightUrlParameter = new RequiredParameter<string>()
static
readonly RequiredParameter<string> Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.HDInsightUsernameParameter = new RequiredParameter<string>()
static
readonly RequiredParameter<string> Org.Apache.REEF.Client.YARN.HDI.HDInsightClientConfiguration.JobSubmissionDirectoryPrefix = new RequiredParameter<string>()
static

The documentation for this class was generated from the following file: