Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- Số trang
- 2
- Định dạng
- Dung lượng
- 50.6 KB
- Lượt xem
- 0
- Bình luận
- 0
- Lượt tải
- 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.
Câu hỏi thường gặp
Tài liệu này có miễn phí không?
Có. “Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 2 trang. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.
- Tên tài liệu
- Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- Nội dung
- 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.
- Mục lục
- Tài liệu không có mục lục rõ ràng.
- Số trang
- 2 trang
- Người đăng
- Uni24h
Đang tạo bản xem trước...
Mô tả
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
Đang tạo bản xem trước...
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
Đọc toàn bộ tài liệu
- Tên tài liệu
- Haddop Commands Cheatsheet - Tổng hợp lệnh Hadoop HDFS
- Nội dung
- 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.
- Mục lục
- Tài liệu không có mục lục rõ ràng.
- Số trang
- 2 trang
- Người đăng
- Uni24h
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!
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
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!