Example usage for Java org.apache.hadoop.util Shell fields, constructors, methods, implement or subclass
The text is from its open source code.
String | USER_NAME_COMMAND a Unix command to get the current user's name: . |
OSType | osType Get the type of the operating system, as determined from parsing the os.name property. |
boolean | WINDOWS |
boolean | LINUX |
String | SET_PERMISSION_COMMAND a Unix command to set permission: . |
String | WINUTILS Location of winutils as a string; null if not found. |
String | execCommand(String... cmd) Static method to execute a shell command. |
String | execCommand(Map Static method to execute a shell command. |
String | execCommand(Map Static method to execute a shell command. |
String | getHadoopHome() Get the Hadoop home directory. |
String | getQualifiedBinPath(String executable) Fully qualify the path to a binary that should be in a known hadoop bin location. |
String[] | getSymlinkCommand(String target, String link) Return a command to create symbolic links. |