protected class HBaseClusterManager.RemoteShell extends org.apache.hadoop.util.Shell.ShellCommandExecutor
Modifier and Type | Field and Description |
---|---|
private String |
hostname |
private String |
user |
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 |
---|
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 |
---|---|
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 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.ShellCommandExecutor
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.