Java org.apache.hadoop.util Shell fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.util Shell fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.util Shell.

The text is from its open source code.

Field

StringUSER_NAME_COMMAND
a Unix command to get the current user's name: .
OSTypeosType
Get the type of the operating system, as determined from parsing the os.name property.
booleanWINDOWS
booleanLINUX
StringSET_PERMISSION_COMMAND
a Unix command to set permission: .
StringWINUTILS
Location of winutils as a string; null if not found.

Method

StringexecCommand(String... cmd)
Static method to execute a shell command.
StringexecCommand(Map env, String[] cmd, long timeout)
Static method to execute a shell command.
StringexecCommand(Map env, String... cmd)
Static method to execute a shell command.
StringgetHadoopHome()
Get the Hadoop home directory.
StringgetQualifiedBinPath(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.