hdfs[Command] Dfs

Source: Internet
Author: User
Tags hadoop fs

Usage:hadoop fs [Generic options]
[-appendtofile <localsrc> ... <dst>]
[-cat [-IGNORECRC] <src> ...]
[-checksum <src> ...]
[-CHGRP [-R] GROUP PATH ...]
[-chmod [-R] <mode[,mode] ... | Octalmode> PATH ...]
[-chown [-R] [Owner][:[group]] PATH ...]
[-copyfromlocal [-f] [-p] <localsrc> ... <dst>]
[-copytolocal [-P] [-IGNORECRC] [-CRC] <src> ... <localdst>]
[-count [-Q] <path> ...]
[-CP [-f] [-p] <src> ... <dst>]
[-createsnapshot <snapshotDir> [<snapshotname>]]
[-deletesnapshot <snapshotDir> <snapshotname>]
[-DF [-h] [<path> ...]
[-DU [-S] [-h] <path> ...]
[-expunge]
[-get [-P] [-IGNORECRC] [-CRC] <src> ... <localdst>]
[-getfacl [-R] <path>]
[-getmerge [-NL] <src> <localdst>]
[-help [cmd ...]]
[-ls [-D] [-h] [-r] [<path> ...]
[-mkdir [-P] <path> ...]
[-movefromlocal <localsrc> ... <dst>]
[-movetolocal <src> <localdst>]
[-mv <src> ... <dst>]
[-put [-f] [-p] <localsrc> ... <dst>]
[-renamesnapshot <snapshotDir> <oldName> <newname>]
[-RM [-F] [-r|-r] [-skiptrash] <src> ...]
[-rmdir [--ignore-fail-on-non-empty] <dir> ...]
[-setfacl [-R] [{-b|-k} {-m|-x <acl_spec>} <path>]| [--set <acl_spec> <path>]
[-setrep [-R] [-W] <rep> <path> ...]
[-STAT [format] <path> ...]
[-tail [-F] <file>]
[-test-[defsz] <path>]
[-text [-IGNORECRC] <src> ...]
[-touchz <path> ...]
[-usage [cmd ...]]

Generic options supported are
-conf <configuration file> Specify an application configuration file
-D <property=value> Use value for given property
-fs <local|namenode:port> Specify a Namenode
-JT <local|jobtracker:port> Specify a job tracker
-files <comma separated list of files> specify comma separated files to being copied to the map reduce cluster
-libjars <comma separated list of jars> specify Comma separated jar files to include in the classpath.
-archives <comma separated list of archives> specify Comma separated archives to being unarchived on the compute Machin Es.

hdfs[Command] Dfs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.