@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class ConfigurationProvider extends Object
Constructor and Description |
---|
ConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract void |
closeInternal()
Derived classes close themselves using this method.
|
abstract InputStream |
getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf,
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 Exception
Exception
public abstract InputStream getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf, String name) throws YarnException, IOException
bootstrapConf
- Configurationname
- The configuration file nameYarnException
IOException
public abstract void initInternal(org.apache.hadoop.conf.Configuration bootstrapConf) throws Exception
Exception
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.