public final class UnsafeHDInsightRuntimeConfiguration extends ConfigurationModuleBuilder
Modifier and Type | Field and Description |
---|---|
static ConfigurationModule |
CONF |
static RequiredParameter<String> |
CONTAINER_NAME
The Container name to be used by Azure.
|
static RequiredParameter<String> |
PASSWORD
The password to be used for connecting to hdinsight.
|
static RequiredParameter<String> |
STORAGE_ACCOUNT_KEY
The Storage account key to be used by Azure.
|
static RequiredParameter<String> |
STORAGE_ACCOUNT_NAME
The Storage account to be used by Azure.
|
static RequiredParameter<String> |
URL
The URL of the hdinsight web service.
|
static RequiredParameter<String> |
USER_NAME
The username to be used for connecting to hdinsight.
|
Constructor and Description |
---|
UnsafeHDInsightRuntimeConfiguration() |
Modifier and Type | Method and Description |
---|---|
static Configuration |
fromEnvironment() |
static Configuration |
fromTextFile(File file)
Returns an UNSAFE HDInsight runtime configuration from the credentials stored in the given file.
|
bind, bindConstructor, bindConstructor, bindImplementation, bindImplementation, bindImplementation, bindList, bindList, bindList, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindSetEntry, bindSetEntry, bindSetEntry, bindSetEntry, build, merge
public static final RequiredParameter<String> URL
public static final RequiredParameter<String> STORAGE_ACCOUNT_NAME
public static final RequiredParameter<String> STORAGE_ACCOUNT_KEY
public static final RequiredParameter<String> CONTAINER_NAME
public static final RequiredParameter<String> USER_NAME
public static final RequiredParameter<String> PASSWORD
public static final ConfigurationModule CONF
public UnsafeHDInsightRuntimeConfiguration()
public static Configuration fromTextFile(File file) throws IOException
file
- IOException
- if the file can't be readpublic static Configuration fromEnvironment() throws IOException
IOException
HDInsightRuntimeConfiguration.HDINSIGHT_CONFIGURATION_FILE_ENVIRONMENT_VARIABLE
Copyright © 2017 The Apache Software Foundation. All rights reserved.