| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Copy files that match the file pattern <src> to a destination. When copying multiple files, the destination must be a directory. Passing -p preserves status [topax] (timestamps, ownership, permission, ACLs, XAttr). If -p is specified with no <arg>, then preserves timestamps, ownership, permission. If -pa is specified, then preserves permission also because ACL is a super-set of permission. Passing -f overwrites the destination if it already exists. raw namespace extended attributes are preserved if (1) they are supported (HDFS only) and, (2) all of the source and target pathnames are in the /.reserved/raw hierarchy. raw namespace xattr preservation is determined solely by the presence (or absence) of the /.reserved/raw prefix and not by the -p option.\n" |
public static final String |
NAME |
"cp" |
public static final String |
USAGE |
"[-f] [-p | -p[topax]] <src> ... <dst>" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Get all the files in the directories that match the source file pattern and merge and sort them to only one file on local fs. <src> is kept.\n-nl: Add a newline character at the end of each file." |
public static final String |
NAME |
"getmerge" |
public static final String |
USAGE |
"[-nl] <src> <localdst>" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Count the number of directories, files and bytes under the paths\nthat match the specified file pattern. The output columns are:\nDIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME or\nQUOTA REMAINING_QUOTA SPACE_QUOTA REMAINING_SPACE_QUOTA \n DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME\nThe -h option shows file sizes in human readable format." |
public static final String |
NAME |
"count" |
public static final String |
USAGE |
"[-q] [-h] <path> ..." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Delete all files that match the specified file pattern. Equivalent to the Unix command \"rm <src>\"\n-skipTrash: option bypasses trash, if enabled, and immediately deletes <src>\n-f: If the file does not exist, do not display a diagnostic message or modify the exit status to reflect an error.\n-[rR]: Recursively deletes directories" |
public static final String |
NAME |
"rm" |
public static final String |
USAGE |
"[-f] [-r|-R] [-skipTrash] <src> ..." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Removes the directory entry specified by each directory argument, provided it is empty.\n" |
public static final String |
NAME |
"rmdir" |
public static final String |
USAGE |
"[--ignore-fail-on-non-empty] <dir> ..." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
NAME |
"rmr" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"List the contents that match the specified file pattern. If path is not specified, the contents of /user/<currentUser> will be listed. Directory entries are of the form:\n\tpermissions - userId groupId sizeOfDirectory(in bytes) modificationDate(yyyy-MM-dd HH:mm) directoryName\n\nand file entries are of the form:\n\tpermissions numberOfReplicas userId groupId sizeOfFile(in bytes) modificationDate(yyyy-MM-dd HH:mm) fileName\n-d: Directories are listed as plain files.\n-h: Formats the sizes of files in a human-readable fashion rather than a number of bytes.\n-R: Recursively list the contents of directories.-F: Formats the result as json" |
public static final String |
NAME |
"ls" |
public static final String |
USAGE |
"[-d] [-h] [-R] [-F] [<path> ...]" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
NAME |
"lsr" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Create a directory in specified location.\n-p: Do not fail if the directory already exists" |
public static final String |
NAME |
"mkdir" |
public static final String |
USAGE |
"[-p] <path> ..." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Move files that match the specified file pattern <src> to a destination <dst>. When moving multiple files, the destination must be a directory." |
public static final String |
NAME |
"mv" |
public static final String |
USAGE |
"<src> ... <dst>" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Displays help for given command or all commands if none is specified." |
public static final String |
NAME |
"help" |
public static final String |
USAGE |
"[cmd ...]" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DESCRIPTION |
"Displays the usage for given command or all commands if none is specified." |
public static final String |
NAME |
"usage" |
public static final String |
USAGE |
"[cmd ...]" |
Copyright © 2021. All rights reserved.