Some common commands for Hadoop

Source: Internet
Author: User
Tags hadoop fs

Preface: Well, it's just a little bit more comfortable without writing code, but we can't slack off. The hive operation's file needs to be loaded from here

Similar to the Linux commands, the command line begins with the Hadoop  FS    -(dash) LS  /    list file or directory cat Hadoop FS  -cat  ./hello.txt/opt/old/ Htt/hello.txt   View files can dump directories or file dumps to Hadoop  Hadoop  fs-put./hello.txt  /opt/old/htt/hello.txt Download file   Hadoop  fs-get  /opt/old/htt/hello.txt   hello.txt Delete files or directories      -rm    -rmr Create files      - mkdir new Empty file    touchz    path rename Hadoop  fs  -mv  /opt/old/htt/hello.txt  /opt/old/htt/ Hello2.txt merges all the contents of the specified file into one file. -getmerge  /opt/old/htt/   /opt/old/hello.rxrkill job Assignment Hadoop job–kill  [Job-id]

Some common commands for Hadoop

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.