protected class HBaseClusterManager.RemoteSudoShell extends org.apache.hadoop.util.Shell.ShellCommandExecutor
Modifier and Type | Field and Description |
---|---|
private String |
hostname |
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 and Description |
---|
RemoteSudoShell(String hostname,
String[] execString,
File dir,
Map<String,String> env,
long timeout) |
RemoteSudoShell(String hostname,
String[] execString,
long timeout) |
Modifier and Type | Method and Description |
---|---|
String[] |
getExecString() |
close, execute, getOutput, getTimeoutInterval, parseExecResult, toString
appendScriptExtension, appendScriptExtension, 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, isTimedOut, run, setEnvironment, setWorkingDirectory
public RemoteSudoShell(String hostname, String[] execString, long timeout)
public String[] getExecString()
getExecString
in class org.apache.hadoop.util.Shell.ShellCommandExecutor
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.