@Private
@Unstable
public abstract class ConfigurationProvider
extends java.lang.Object
| Constructor | Description |
|---|---|
ConfigurationProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
abstract void |
closeInternal() |
Derived classes close themselves using this method.
|
abstract java.io.InputStream |
getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf,
java.lang.String name) |
Opens an InputStream at the indicated file.
|
void |
init(org.apache.hadoop.conf.Configuration bootstrapConf) |
|
abstract void |
initInternal(org.apache.hadoop.conf.Configuration bootstrapConf) |
Derived classes initialize themselves using this method.
|
public void init(org.apache.hadoop.conf.Configuration bootstrapConf)
throws java.lang.Exception
java.lang.Exceptionpublic void close()
throws java.lang.Exception
java.lang.Exceptionpublic abstract java.io.InputStream getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf,
java.lang.String name)
throws YarnException,
java.io.IOException
bootstrapConf - Configuration.name - The configuration file name.YarnException - exceptions from yarn servers.java.io.IOException - io error occur.public abstract void initInternal(org.apache.hadoop.conf.Configuration bootstrapConf)
throws java.lang.Exception
bootstrapConf - bootstrap configuration.java.lang.Exception - exception occur.public abstract void closeInternal()
throws java.lang.Exception
java.lang.Exception - exception occur.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.