@InterfaceAudience.Private
@InterfaceStability.Unstable
public class FileSystemBasedConfigurationProvider
extends org.apache.hadoop.yarn.conf.ConfigurationProvider
| Constructor and Description |
|---|
FileSystemBasedConfigurationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInternal() |
org.apache.hadoop.fs.Path |
getConfigDir() |
InputStream |
getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf,
String name) |
org.apache.hadoop.fs.FileSystem |
getFs() |
void |
initInternal(org.apache.hadoop.conf.Configuration bootstrapConf) |
public FileSystemBasedConfigurationProvider()
public InputStream getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf, String name) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
getConfigurationInputStream in class org.apache.hadoop.yarn.conf.ConfigurationProviderIOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic void initInternal(org.apache.hadoop.conf.Configuration bootstrapConf)
throws Exception
initInternal in class org.apache.hadoop.yarn.conf.ConfigurationProviderExceptionpublic void closeInternal()
throws Exception
closeInternal in class org.apache.hadoop.yarn.conf.ConfigurationProviderExceptionpublic org.apache.hadoop.fs.FileSystem getFs()
public org.apache.hadoop.fs.Path getConfigDir()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.