Hadoop Common Commands

Source: Internet
Author: User
Tags hadoop fs

Hadoop Namenode-format formatted Distributed File system
start-all.sh Start all Hadoop daemons
stop-all.sh Stop all Hadoop daemons
start-mapred.sh Start the Map/reduce daemon
stop-mapred.sh Stop Map/reduce Daemon
Start-dfs.sh starting the HDFs daemon
stop-mapred.sh Stop HDFs Daemon
start-balancer.sh HDFS data Block load Balancing

FS in the following command can also be written as a Dfs
Hadoop fs-ls list HDFs files
Hadoop fs-ls [filename] lists files in a document in the HDFs directory
Hadoop fs-put [filename] uploads files to HDFs
Hadoop fs-get [filename] downloads files from HDFs to local
Hadoop FS-RMR [dirname] Delete directory under HDFs
Hadoop fs-cat [filename] View a file under HDFs
Hadoop fs-help List of command lists
Hadoop fs-help [commandname] List specific command details

Hadoop Dfsadmin-report View basic statistics for HDFS
Hadoop Dfsadmin-safemode Enter Safe Mode (default mode)
Hadoop dfsadmin-safemode leave exit Safe mode

Hadoop Common Commands

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.