protected class HBaseClusterManager.RemoteShell extends org.apache.hadoop.util.Shell.ShellCommandExecutor
| Modifier and Type | Field and Description |
|---|---|
private String |
hostname |
private String |
user |
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, timeOutInterval, TOKEN_SEPARATOR_REGEX, USER_NAME_COMMAND, WINDOWS, WINDOWS_MAX_SHELL_LENGHT, WindowsProcessLaunchLock, WINUTILS| Constructor and Description |
|---|
RemoteShell(String hostname,
String[] execString) |
RemoteShell(String hostname,
String[] execString,
File dir) |
RemoteShell(String hostname,
String[] execString,
File dir,
Map<String,String> env) |
RemoteShell(String hostname,
String[] execString,
File dir,
Map<String,String> env,
long timeout) |
RemoteShell(String hostname,
String user,
String[] execString) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String[] |
getExecString() |
close, getOutput, parseExecResult, toStringappendScriptExtension, appendScriptExtension, checkWindowsCommandLineLength, execCommand, execCommand, execCommand, getCheckProcessIsAliveCommand, getEnvironment, getEnvironmentVariableRegex, getExitCode, getGetPermissionCommand, getGroupsCommand, getGroupsForUserCommand, getHadoopHome, getProcess, getQualifiedBinPath, getReadlinkCommand, getRunScriptCommand, getSetOwnerCommand, getSetPermissionCommand, getSetPermissionCommand, getSignalKillCommand, getSymlinkCommand, getUsersForNetgroupCommand, getWinUtilsPath, isJava7OrAbove, isTimedOut, run, setEnvironment, setWorkingDirectorypublic RemoteShell(String hostname, String[] execString, File dir, Map<String,String> env, long timeout)
public RemoteShell(String hostname, String[] execString, File dir, Map<String,String> env)
public RemoteShell(String hostname, String[] execString, File dir)
public RemoteShell(String hostname, String[] execString)
public RemoteShell(String hostname, String user, String[] execString)
public String[] getExecString()
getExecString in class org.apache.hadoop.util.Shell.ShellCommandExecutorpublic void execute() throws IOException
execute in interface org.apache.hadoop.util.Shell.CommandExecutorexecute in class org.apache.hadoop.util.Shell.ShellCommandExecutorIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.