Package org.apache.hadoop.hbase.chaos
Class ChaosAgent.LocalShell
java.lang.Object
org.apache.hadoop.util.Shell
org.apache.hadoop.util.Shell.ShellCommandExecutor
org.apache.hadoop.hbase.chaos.ChaosAgent.LocalShell
- All Implemented Interfaces:
- org.apache.hadoop.util.Shell.CommandExecutor
- Enclosing class:
- ChaosAgent
protected static class ChaosAgent.LocalShell
extends org.apache.hadoop.util.Shell.ShellCommandExecutor
Executes Command locally.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.util.Shellorg.apache.hadoop.util.Shell.CommandExecutor, org.apache.hadoop.util.Shell.ExitCodeException, org.apache.hadoop.util.Shell.OSType, org.apache.hadoop.util.Shell.ShellCommandExecutor
- 
Field SummaryFieldsFields inherited from class org.apache.hadoop.util.ShellENV_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 SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.hadoop.util.Shell.ShellCommandExecutorclose, getOutput, getTimeoutInterval, parseExecResult, toStringMethods inherited from class org.apache.hadoop.util.ShellappendScriptExtension, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.util.Shell.CommandExecutorgetExitCode
- 
Field Details- 
user
- 
execCommand
 
- 
- 
Constructor Details- 
LocalShell
 
- 
- 
Method Details- 
getExecString- Overrides:
- getExecStringin class- org.apache.hadoop.util.Shell.ShellCommandExecutor
 
- 
execute- Specified by:
- executein interface- org.apache.hadoop.util.Shell.CommandExecutor
- Overrides:
- executein class- org.apache.hadoop.util.Shell.ShellCommandExecutor
- Throws:
- IOException
 
 
-