Hadoop should not be unfamiliar to anyone who is engaged in Distributed Storage (if you have never heard of it, go to Baidu encyclopedia http://baike.baidu.com/view/908354.htmto Check It Out). This article mainly discusses hadoop's Distributed File System (HDFS. Reference hadoop's official statement: HDFS is a highly fault-tolerant system suitable for deployment on cheap machines. HDFS provides high-throughput data access and is suitable for applications on large-scale datasets. We don't need such a good system. How can we use it? Here I will not talk about how to deploy hadoop, but mainly about how to use it for. Net programmers. Why is it just a. Net programmer, because hadoop itself is implemented in Java and needs to be set up on a Linux system, and these are what we are used to when. Net programmers in windows are not good. The following describes the effects of HDFS Resources in the title of this article,
The main functions are as follows:
1. List. You can list files and file information (such as file format and size) in resource manager mode)
2. download the file. You can download files in HDFS to your local device. You can download files in a single or batch by list.
3. upload files. You can upload local files to HDFS. It also supports single files and batch files.
4. File modification. You can directly rename, copy, paste, and cut files in HDFS.
5. Restore deleted files. You can customize the file deletion and recovery mechanism to restore files within a specified period of time.
Source code and use configuration instructions on GitHub, interested can go here (https://github.com/gudao/NetHadoop) exchange.
(Note: The hadoop cluster or pseudo cluster has been established and the haddopfs. Thrift service has been started)
The next article will introduce how to deploy the haddopfs. Thrift service. Visit my website at http://www.front2end.cn.