Package com.mapr.ycsb
Class Driver
java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.ycsb.App
com.mapr.ycsb.Driver
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromRemote(String remoteFilePath, String localFilePath) voidcopyToRemote(String localFilePath, String remoteFilePath) voidcreateSessionFolder(String folder) booleanprotected org.slf4j.Loggerstatic voidintrun0()Methods inherited from class com.mapr.ycsb.App
getConfig, getConfigFile, getSessionName, run, usageMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
run0
-
exec
public boolean exec(String cmd) throws com.jcraft.jsch.JSchException, InterruptedException, ExecutionException - Throws:
com.jcraft.jsch.JSchExceptionInterruptedExceptionExecutionException
-
copyToRemote
public void copyToRemote(String localFilePath, String remoteFilePath) throws InterruptedException, ExecutionException, com.jcraft.jsch.JSchException - Throws:
InterruptedExceptionExecutionExceptioncom.jcraft.jsch.JSchException
-
copyFromRemote
public void copyFromRemote(String remoteFilePath, String localFilePath) throws InterruptedException, ExecutionException, com.jcraft.jsch.JSchException - Throws:
InterruptedExceptionExecutionExceptioncom.jcraft.jsch.JSchException
-
createSessionFolder
public void createSessionFolder(String folder) throws com.jcraft.jsch.JSchException, InterruptedException, ExecutionException - Throws:
com.jcraft.jsch.JSchExceptionInterruptedExceptionExecutionException
-
getLogger
protected org.slf4j.Logger getLogger() -
main
-