Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- 页数
- 2
- 格式
- 大小
- 50.6 KB
- 浏览量
- 0
- 评论
- 0
- 下载次数
- 0
Bảng tra cứu nhanh các lệnh Hadoop HDFS, bao gồm liệt kê tệp, đọc/ghi, tải lên/xuống và quản lý tệp.
常见问题
此文档免费吗?
是的。“Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 2 页。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
- 文档名称
- Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- 内容
- Tài liệu cung cấp các lệnh Hadoop HDFS thiết yếu để liệt kê, đọc, ghi, tải lên/xuống, sao chép, di chuyển và xóa tệp/thư mục. Nó là một công cụ tham khảo nhanh cho các thao tác HDFS.
- 目录
- 此文档没有清晰的目录。
- 页数
- 2 页
- 上传者
- Uni24h
正在生成预览...
描述
Hadoop HDFS Command Cheatsheet List Files hdfs dfs -ls / List all the files/directories for the given hdfs destination path. Directories are listed as plain files. In this case, this command will list the details of hadoop folder. Format file sizes in a human-readable fashion (eg 64.0m instead of 67108864). Recursively list all files in hadoop directory and all subdirectories in hadoop directory. hdfs dfs -ls -d /hadoop hdfs dfs -ls -h /data hdfs dfs -ls -R /hadoop List all the files matching the pattern. In this case, it will list all the files inside hadoop directory which starts with 'dat'. hdfs dfs -ls /hadoop/dat* Read/Write Files HDFS Command that takes a source file and outputs the file in text format on the terminal. The allowed formats are zip and TextRecordInputStream. This command will display the content of the HDFS file test on your stdout . hdfs dfs -text /hadoop/derby.log hdfs dfs -cat /hadoop/test hdfs dfs -appendToFile /home/ubuntu/test1 /hadoop/text2 Appends the content of a local file test1 to a hdfs file test2. Upload/Download Files hdfs dfs -put /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Copies the file from local file system to HDFS, and in case the local already exits in the given destination path, using -f option with put command will overwrite it. hdfs dfs -put -f /home/ubuntu/sample /hadoop hdfs dfs -put -l /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Allow DataNode to lazily persist the file to disk. Forces replication factor of 1. hdfs dfs -put -p /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Passing -p preserves access and modification times, ownership and the mode. hdfs dfs -get /newfile /home/ubuntu/ Copies the file from HDFS to local file system. hdfs dfs -get -p /newfile /home/ubuntu/ Copies the file from HDFS to local file system. Passing -p preserves access and modification times, ownership and the mode. hdfs dfs -get /h
Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
正在生成预览...
Hadoop HDFS Command Cheatsheet List Files hdfs dfs -ls / List all the files/directories for the given hdfs destination path. Directories are listed as plain files. In this case, this command will list the details of hadoop folder. Format file sizes in a human-readable fashion (eg 64.0m instead of 67108864). Recursively list all files in hadoop directory and all subdirectories in hadoop directory. hdfs dfs -ls -d /hadoop hdfs dfs -ls -h /data hdfs dfs -ls -R /hadoop List all the files matching the pattern. In this case, it will list all the files inside hadoop directory which starts with 'dat'. hdfs dfs -ls /hadoop/dat* Read/Write Files HDFS Command that takes a source file and outputs the file in text format on the terminal. The allowed formats are zip and TextRecordInputStream. This command will display the content of the HDFS file test on your stdout . hdfs dfs -text /hadoop/derby.log hdfs dfs -cat /hadoop/test hdfs dfs -appendToFile /home/ubuntu/test1 /hadoop/text2 Appends the content of a local file test1 to a hdfs file test2. Upload/Download Files hdfs dfs -put /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Copies the file from local file system to HDFS, and in case the local already exits in the given destination path, using -f option with put command will overwrite it. hdfs dfs -put -f /home/ubuntu/sample /hadoop hdfs dfs -put -l /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Allow DataNode to lazily persist the file to disk. Forces replication factor of 1. hdfs dfs -put -p /home/ubuntu/sample /hadoop Copies the file from local file system to HDFS. Passing -p preserves access and modification times, ownership and the mode. hdfs dfs -get /newfile /home/ubuntu/ Copies the file from HDFS to local file system. hdfs dfs -get -p /newfile /home/ubuntu/ Copies the file from HDFS to local file system. Passing -p preserves access and modification times, ownership and the mode. hdfs dfs -get /h
阅读全文
- 文档名称
- Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- 内容
- Tài liệu cung cấp các lệnh Hadoop HDFS thiết yếu để liệt kê, đọc, ghi, tải lên/xuống, sao chép, di chuyển và xóa tệp/thư mục. Nó là một công cụ tham khảo nhanh cho các thao tác HDFS.
- 目录
- 此文档没有清晰的目录。
- 页数
- 2 页
- 上传者
- Uni24h
评论 (0)
暂无评论。快来抢沙发吧!
Ngân hàng đề thi môn: Hệ thống thông tin quản lý
Đề thi môn Cơ sở dữ liệu (kèm Đáp án) - Đại học Sư phạm kỹ thuật
Đề thi và đáp án môn Hệ thống thông tin kế toán
Đề thi và đáp án môn Cấu trúc dữ liệu giải thuật
Đáp án đề thi môn Mạng máy tính - ĐH Công nghệ thông tin (CNTT)
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
评论 (0)
暂无评论。快来抢沙发吧!