@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, prepare
isTransactional, onSessionCompleting, onSessionCreated
public JschHadoopFsMirror(org.apache.hadoop.conf.Configuration configuration, SshProfile profile, ParameterList arguments)
configuration
- the hadoop configurationprofile
- the profilearguments
- the argumentsIllegalArgumentException
- if any parameter is null
protected SshConnection openConnection(SshProfile profile, List<String> command) throws IOException
AbstractSshHadoopFsMirror
openConnection
in class AbstractSshHadoopFsMirror
profile
- the ssh profilecommand
- target commandIOException
- if failed to openCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.