test
help: check if fs help message is shown
-help
SubstringComparator
Usage: hadoop fs [generic options]
help: help for ls
-help ls
RegexpComparator
^-ls \[-d\] \[-h\] \[-R\] \[<path> \.\.\.\]:( |\t)*List the contents that match the specified file pattern. If( )*
RegexpComparator
^( |\t)*path is not specified, the contents of /user/<currentUser>( )*
RegexpComparator
^( |\t)*path is not specified, the contents of /user/<currentUser>( )*
RegexpComparator
^( |\t)*will be listed. Directory entries are of the form( )*
RegexpComparator
^( |\t)*dirName \(full path\) <dir>( )*
RegexpComparator
^( |\t)*and file entries are of the form( )*
RegexpComparator
^( |\t)*fileName\(full path\) <r n> size( )*
RegexpComparator
^( |\t)*where n is the number of replicas specified for the file( )*
RegexpComparator
^( |\t)*and size is the size of the file, in bytes.( )*
RegexpComparator
^( |\t)*-d\s+Directories are listed as plain files\.
RegexpComparator
^( |\t)*-h\s+Formats the sizes of files in a human-readable fashion( )*
RegexpComparator
^( |\t)*rather than a number of bytes\.( )*
RegexpComparator
^( |\t)*-R\s+Recursively list the contents of directories\.
help: help for lsr
-help lsr
RegexpComparator
^-lsr:\s+\(DEPRECATED\) Same as 'ls -R'
help: help for get
-help get
RegexpComparator
^-get( )*\[-p\]( )*\[-ignoreCrc\]( )*\[-crc\]( )*<src> \.\.\. <localdst>:( |\t)*Copy files that match the file pattern <src>( )*
RegexpComparator
^( |\t)*to the local name.( )*<src> is kept.( )*When copying multiple,( )*
RegexpComparator
^( |\t)*files, the destination must be a directory.( )*Passing( )*
RegexpComparator
^( |\t)*-p preserves access and modification times,( )*
RegexpComparator
^( |\t)*ownership and the mode.( )*
help: help for du
-help du
RegexpComparator
^-du \[-s\] \[-h\] <path> \.\.\.:\s+Show the amount of space, in bytes, used by the files that\s*
RegexpComparator
^\s*match the specified file pattern. The following flags are optional:
RegexpComparator
^\s*-s\s*Rather than showing the size of each individual file that
RegexpComparator
^\s*matches the pattern, shows the total \(summary\) size.
RegexpComparator
^\s*-h\s*Formats the sizes of files in a human-readable fashion
RegexpComparator
\s*rather than a number of bytes.
RegexpComparator
^\s*Note that, even without the -s option, this only shows size summaries
RegexpComparator
^\s*one level deep into a directory.
RegexpComparator
^\s*The output is in the form
RegexpComparator
^\s*size\s+name\(full path\)\s*
help: help for dus
-help dus
RegexpComparator
^-dus:\s+\(DEPRECATED\) Same as 'du -s'
help: help for count
-help count
RegexpComparator
^-count \[-q\] <path> \.\.\.:( |\t)*Count the number of directories, files and bytes under the paths( )*
RegexpComparator
^( |\t)*that match the specified file pattern. The output columns are:( )*
RegexpComparator
^( |\t)*DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME or( )*
RegexpComparator
^( |\t)*QUOTA REMAINING_QUATA SPACE_QUOTA REMAINING_SPACE_QUOTA( )*
RegexpComparator
^( |\t)*DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME( )*
help: help for mv
-help mv
RegexpComparator
^-mv <src> \.\.\. <dst>:( |\t)*Move files that match the specified file pattern <src>( )*
RegexpComparator
^( |\t)*to a destination <dst>. When moving multiple files, the( )*
RegexpComparator
^( |\t)*destination must be a directory.( )*
help: help for cp
-help cp
RegexpComparator
^-cp \[-f\] \[-p\] <src> \.\.\. <dst>:( |\t)*Copy files that match the file pattern <src> to a( )*
RegexpComparator
^( |\t)*destination. When copying multiple files, the destination( )*
RegexpComparator
^( |\t)*must be a directory.( )*Passing -p preserves access and( )*
RegexpComparator
^( |\t)*modification times, ownership and the mode. Passing -f( )*
RegexpComparator
^( |\t)*overwrites the destination if it already exists.( )*
help: help for rm
-help rm
RegexpComparator
^-rm \[-f\] \[-r\|-R\] \[-skipTrash\] <src> \.\.\.:( |\t)*Delete all files that match the specified file pattern.( )*
RegexpComparator
^( |\t)*Equivalent to the Unix command "rm <src>"( )*
RegexpComparator
^( |\t)*-skipTrash option bypasses trash, if enabled, and immediately( )*
RegexpComparator
^( |\t)*deletes <src>( )*
RegexpComparator
^\s+-f\s+If the file does not exist, do not display a diagnostic
RegexpComparator
^\s+message or modify the exit status to reflect an error\.
RegexpComparator
^\s+-\[rR\]\s+Recursively deletes directories
help: help for rmdir
-help rmdir
RegexpComparator
^-rmdir \[--ignore-fail-on-non-empty\] <dir> \.\.\.:\s+Removes the directory entry specified by each directory argument,
RegexpComparator
\s+provided it is empty.
help: help for rmr
-help rmr
RegexpComparator
^-rmr:\s+\(DEPRECATED\) Same as 'rm -r'
help: help for put
-help put
RegexpComparator
^-put \[-f\] \[-p\] <localsrc> \.\.\. <dst>:\s+Copy files from the local file system
RegexpComparator
^( |\t)*into fs.( )*Copying fails if the file already( )*
RegexpComparator
^( |\t)*exists, unless the -f flag is given.( )*Passing( )*
RegexpComparator
^( |\t)*-p preserves access and modification times,( )*
RegexpComparator
^( |\t)*ownership and the mode. Passing -f overwrites( )*
RegexpComparator
^( |\t)*the destination if it already exists.( )*
help: help for copyFromLocal
-help copyFromLocal
RegexpComparator
^-copyFromLocal \[-f\] \[-p\] <localsrc> \.\.\. <dst>:\s+Identical to the -put command\.
help: help for moveFromLocal
-help moveFromLocal
RegexpComparator
^-moveFromLocal <localsrc> \.\.\. <dst>:\s+Same as -put, except that the source is
RegexpComparator
^( |\t)*deleted after it's copied.
help: help for get
-help get
RegexpComparator
^-get( )*\[-p\]( )*\[-ignoreCrc\]( )*\[-crc\]( )*<src> \.\.\. <localdst>:( |\t)*Copy files that match the file pattern <src>( )*
RegexpComparator
^( |\t)*to the local name.( )*<src> is kept.( )*When copying multiple,( )*
RegexpComparator
^( |\t)*files, the destination must be a directory.( )*Passing( )*
RegexpComparator
^( |\t)*-p preserves access and modification times,( )*
RegexpComparator
^( |\t)*ownership and the mode.( )*
help: help for getmerge
-help getmerge
RegexpComparator
^-getmerge \[-nl\] <src> <localdst>:( |\t)*Get all the files in the directories that( )*
RegexpComparator
^( |\t)*match the source file pattern and merge and sort them to only( )*
RegexpComparator
^( |\t)*one file on local fs. <src> is kept.( )*
RegexpComparator
^( |\t)*-nl Add a newline character at the end of each file.( )*
help: help for cat
-help cat
RegexpComparator
^-cat \[-ignoreCrc\] <src> \.\.\.:( |\t)*Fetch all files that match the file pattern <src>( )*
RegexpComparator
^( |\t)*and display their content on stdout.
help: help for checksum
-help checksum
RegexpComparator
^-checksum <src> \.\.\.:( |\t)*Dump checksum information for files.*
help: help for copyToLocal
-help copyToLocal
RegexpComparator
^-copyToLocal \[-p\] \[-ignoreCrc\] \[-crc\] <src> \.\.\. <localdst>:\s+Identical to the -get command.
help: help for moveToLocal
-help moveToLocal
RegexpComparator
^-moveToLocal <src> <localdst>:\s+Not implemented yet
help: help for mkdir
-help mkdir
RegexpComparator
^-mkdir \[-p\] <path> \.\.\.:( |\t)*Create a directory in specified location.( )*
TokenComparator
-p Do not fail if the directory already exists
help: help for setrep
-help setrep
RegexpComparator
^-setrep \[-R\] \[-w\] <rep> <path/file> \.\.\.:( |\t)*Set the replication level of a file.( )*
RegexpComparator
^( |\t)*The -R flag requests a recursive change of replication level( )*
RegexpComparator
^( |\t)*for an entire tree.( )*
help: help for touchz
-help touchz
RegexpComparator
^-touchz <path> \.\.\.:( |\t)*Creates a file of zero length( )*
RegexpComparator
^( |\t)*at <path> with current time as the timestamp of that <path>.( )*
RegexpComparator
^( |\t)*An error is returned if the file exists with non-zero length( )*
help: help for test
-help test
RegexpComparator
^-test -\[defsz\] <path>:\sAnswer various questions about <path>, with result via exit status.
RegexpComparator
^( |\t)*else, return 1.( )*
help: help for stat
-help stat
RegexpComparator
^-stat \[format\] <path> \.\.\.:( |\t)*Print statistics about the file/directory at <path>( )*
RegexpComparator
^( |\t)*in the specified format. Format accepts filesize in blocks \(%b\), group name of owner\(%g\),( )*
RegexpComparator
^( |\t)*filename \(%n\), block size \(%o\), replication \(%r\), user name of owner\(%u\), modification date \(%y, %Y\)( )*
help: help for tail
-help tail
RegexpComparator
^-tail \[-f\] <file>:( |\t)+Show the last 1KB of the file.( )*
RegexpComparator
^( |\t)*The -f option shows appended data as the file grows.( )*
help: help for chmod
-help chmod
RegexpComparator
^-chmod \[-R\] <MODE\[,MODE\]... \| OCTALMODE> PATH...:( |\t)*Changes permissions of a file.( )*
RegexpComparator
^( |\t)*This works similar to shell's chmod with a few exceptions.( )*
RegexpComparator
^( |\t)*-R( |\t)*modifies the files recursively. This is the only option( )*
RegexpComparator
^( |\t)*currently supported.( )*
RegexpComparator
^( |\t)*MODE( |\t)*Mode is same as mode used for chmod shell command.( )*
RegexpComparator
^( |\t)*Only letters recognized are 'rwxXt'. E.g. \+t,a\+r,g-w,\+rwx,o=r( )*
RegexpComparator
^( |\t)*OCTALMODE Mode specifed in 3 or 4 digits. If 4 digits, the first may( )*
RegexpComparator
^( |\t)*be 1 or 0 to turn the sticky bit on or off, respectively.( )*Unlike( |\t)*shell command, it is not possible to specify only part of the mode( )*
RegexpComparator
^( |\t)*E.g. 754 is same as u=rwx,g=rx,o=r( )*
RegexpComparator
^( |\t)*If none of 'augo' is specified, 'a' is assumed and unlike( )*
RegexpComparator
^( |\t)*shell command, no umask is applied.( )*
help: help for chown
-help chown
RegexpComparator
^-chown \[-R\] \[OWNER\]\[:\[GROUP\]\] PATH...:( |\t)*Changes owner and group of a file.( )*
RegexpComparator
^( |\t)*This is similar to shell's chown with a few exceptions.( )*
RegexpComparator
^( |\t)*-R( |\t)*modifies the files recursively. This is the only option( )*
RegexpComparator
^( |\t)*currently supported.( )*
RegexpComparator
^( |\t)*If only owner or group is specified then only owner or( )*
RegexpComparator
^( |\t)*group is modified.( )*
RegexpComparator
^( |\t)*The owner and group names may only consist of digits, alphabet,( )*
RegexpComparator
^( |\t)*and any of .+?. The names are case sensitive.( )*
RegexpComparator
^( |\t)*WARNING: Avoid using '.' to separate user name and group though( )*
RegexpComparator
^( |\t)*Linux allows it. If user names have dots in them and you are( )*
RegexpComparator
^( |\t)*using local file system, you might see surprising results since( )*
RegexpComparator
^( |\t)*shell command 'chown' is used for local files.( )*
help: help for chgrp
-help chgrp
RegexpComparator
^-chgrp \[-R\] GROUP PATH...:( |\t)*This is equivalent to -chown ... :GROUP ...( )*
help: help for help
-help help
RegexpComparator
^-help \[cmd ...\]:( |\t)*Displays help for given command or all commands if none( )*
RegexpComparator
^( |\t)*is specified.( )*