dfs is Stand-alone file system, Read and write functions are currently available。 The use of multi-threaded file segmentation merge。
The current service is as follows:
1、NameNode => Read or write files need to query the existence of metadata, all requests through the NameNode
2、DataNode => File data storage
3、MetaServer => Metadata is provided
The NameNode and DataNode and MetaServer services need to be started before they can be used。
First configure dfs-site.properties
1、cd dfs
2、java Start.java
3、java MetaServer.java
Starting NameNode and DataNode creates a _SUCCESS file in the configuration directory
At this point you can run
java DFSClient.java