public class HadoopFsProvider extends ResourceProvider
HadoopFsMirror
.Constructor and Description |
---|
HadoopFsProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(ResourceProfile profile)
Configures this provider.
|
ResourceMirror |
create(String sessionId,
ParameterList arguments)
Provides a new
ResourceMirror . |
static org.apache.hadoop.conf.Configuration |
getConfiguration(ProfileContext context)
Returns the Hadoop configuration for the current context.
|
abort, abortAll, createManipulator
protected void configure(ResourceProfile profile) throws IOException
BaseProvider
configure
in class BaseProvider<ResourceProfile>
profile
- the profileIOException
- if failed to configure thispublic ResourceMirror create(String sessionId, ParameterList arguments) throws IOException
ResourceProvider
ResourceMirror
.create
in class ResourceProvider
sessionId
- the current session IDarguments
- arguments (key and value pairs)ResourceMirror
IOException
- if failed to create the specified ResourceMirror
public static org.apache.hadoop.conf.Configuration getConfiguration(ProfileContext context)
context
- the current contextCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.