Package org.apache.hadoop.hbase
Class HBaseClusterManager.RemoteSudoShell
java.lang.Object
org.apache.hadoop.util.Shell
org.apache.hadoop.util.Shell.ShellCommandExecutor
org.apache.hadoop.hbase.HBaseClusterManager.RemoteSudoShell
- All Implemented Interfaces:
org.apache.hadoop.util.Shell.CommandExecutor
- Enclosing class:
- HBaseClusterManager
protected class HBaseClusterManager.RemoteSudoShell
extends org.apache.hadoop.util.Shell.ShellCommandExecutor
Executes commands over SSH
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.util.Shell
org.apache.hadoop.util.Shell.CommandExecutor, org.apache.hadoop.util.Shell.ExitCodeException, org.apache.hadoop.util.Shell.OSType, org.apache.hadoop.util.Shell.ShellCommandExecutor -
Field Summary
FieldsFields inherited from class org.apache.hadoop.util.Shell
ENV_HADOOP_HOME, ENV_NAME_REGEX, FREEBSD, inheritParentEnv, isSetsidAvailable, LINK_COMMAND, LINUX, LOG, MAC, osType, OTHER, PPC_64, READ_LINK_COMMAND, SET_GROUP_COMMAND, SET_OWNER_COMMAND, SET_PERMISSION_COMMAND, SOLARIS, SYSPROP_HADOOP_HOME_DIR, timeOutInterval, TOKEN_SEPARATOR_REGEX, USER_NAME_COMMAND, WINDOWS, WINDOWS_MAX_SHELL_LENGHT, WINDOWS_MAX_SHELL_LENGTH, WindowsProcessLaunchLock, WINUTILS -
Constructor Summary
ConstructorsConstructorDescriptionRemoteSudoShell(String hostname, String[] execString, long timeout) RemoteSudoShell(String hostname, String[] execString, File dir, Map<String, String> env, long timeout) -
Method Summary
Methods inherited from class org.apache.hadoop.util.Shell.ShellCommandExecutor
close, execute, getOutput, getTimeoutInterval, parseExecResult, toStringMethods inherited from class org.apache.hadoop.util.Shell
appendScriptExtension, appendScriptExtension, bashQuote, checkIsBashSupported, checkWindowsCommandLineLength, destroyAllShellProcesses, execCommand, execCommand, execCommand, getAllShells, getCheckProcessIsAliveCommand, getEnvironment, getEnvironmentVariableRegex, getExitCode, getGetPermissionCommand, getGroupsCommand, getGroupsForUserCommand, getGroupsIDForUserCommand, getHadoopHome, getMemlockLimit, getProcess, getQualifiedBin, getQualifiedBinPath, getReadlinkCommand, getRunScriptCommand, getSetOwnerCommand, getSetPermissionCommand, getSetPermissionCommand, getSignalKillCommand, getSymlinkCommand, getUsersForNetgroupCommand, getWaitingThread, getWinUtilsFile, getWinUtilsPath, hasWinutilsPath, isJava7OrAbove, isJavaVersionAtLeast, isTimedOut, run, setEnvironment, setWorkingDirectoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.util.Shell.CommandExecutor
getExitCode
-
Field Details
-
hostname
-
-
Constructor Details
-
RemoteSudoShell
-
RemoteSudoShell
-
-
Method Details
-
getExecString
- Overrides:
getExecStringin classorg.apache.hadoop.util.Shell.ShellCommandExecutor
-