@SimulationSupport public class JschHadoopFsMirror extends AbstractSshHadoopFsMirror
ResourceMirror using Hadoop File System via JSch connection.FileProcess| Constructor and Description |
|---|
JschHadoopFsMirror(org.apache.hadoop.conf.Configuration configuration,
SshProfile profile,
ParameterList arguments)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected SshConnection |
openConnection(SshProfile profile,
List<String> command)
Opens a new SSH command connection.
|
close, createDrain, createSource, getName, prepareisTransactional, onSessionCompleting, onSessionCreatedpublic JschHadoopFsMirror(org.apache.hadoop.conf.Configuration configuration,
SshProfile profile,
ParameterList arguments)
configuration - the hadoop configurationprofile - the profilearguments - the argumentsIllegalArgumentException - if any parameter is nullprotected SshConnection openConnection(SshProfile profile, List<String> command) throws IOException
AbstractSshHadoopFsMirroropenConnection in class AbstractSshHadoopFsMirrorprofile - the ssh profilecommand - target commandIOException - if failed to openCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.