Linux upload and download (SZ-RZ)

Source: Internet
Author: User
Tags hadoop fs

Linux uses RZ and SZ commands to upload and download files!

SZ command send file to Local:

# SZ FileName

RZ command to upload files locally to the server:

# RZ

After executing the command, select the file you want to upload in the pop-up box.

Description: Open the directories for uploading and downloading under Options, X/y/zmodem, Options, SECURECRT software.

Examples of Use:

1 sudo-U hadoop hadoop fs-put d.txt/graphxdata/config/data//Submit configuration file2 sudo-U HadoopRMsparkgraphx-ut-1.0.0-snapshot-jar-with-dependencies.jar//The generic jar package is uploaded to the/home/q/jobs/spark directory3 sudo-U Hadoop rz-be//Upload JRA Package4 sudo-U hadoop/home/q/spark/bin/spark-submit--master yarn--deploy-mode cluster--queue online--conf spark.network.timeou t=10000000--conf spark.executor.heartbeatinterval=10000000--conf spark.executor.memory=1g--conf spark.yarn.executor.memoryoverhead=1g--class horizon.graphx.util.increfiletest/home/q/jobs/spark/sparkgraphx-ut-1.0.0-snapshot-jar-with-dependencies.jar//Submit task to cluster5 sudo-U hadoop yarn Logs-applicationid application_1479194432464_0097 | Less//when you're done, look at the log collection from yarn

To delete a file:
Sudo-u Hadoop Hadoop fs-rm/data/contact/graph/edge/knownquality/low_quality/*

Linux upload and download (SZ-RZ)

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.