- execCommand
Static method to execute a shell command. Covers most of the simple cases
without requiring the user
- appendScriptExtension
Returns a script file name with the given basename. The file extension is
inferred by platform:".cmd
- getExecString
return an array containing the command name and its parameters.
- getProcess
get the current sub-process executing the given command.
- getSetPermissionCommand
Return a command to set permission for specific file.
- getWinUtilsPath
Locate the winutils binary, or fail with a meaningful exception and stack trace
as an RTE. This meth
- parseExecResult
Parse the execution result
- runCommand
Run the command.
- bashQuote
Quote the given arg so that bash will interpret it as a single value. Note that
this quotes it for o
- getSymlinkCommand
Return a command to create symbolic links.
- isJava7OrAbove
query to see if system is Java 7 or later. Now that Hadoop requires Java 7 or
later, this always ret
- getSignalKillCommand
Return a command to send a signal to a given pid.