The embodiment of the invention discloses a file read and / or write method: first the HDFS client receives the client terminal to read the file information and / or documents written information, the first HDFS client for default and default client terminal corresponding to the HDFS client; the first HDFS client according to the file to read the information and / or written to the file name server information and interactive information file node acquires the name sent by the server; the first HDFS client according to the node information corresponding to the file server to complete the data file read and / or write files. The embodiment of the invention also discloses a data server. The invention can fast and easy implementation of the HDFS file read and write based on the completion of a large amount of data storage; and can easily run in the normal computer, greatly improve the compatibility of the system.
【技术实现步骤摘要】
【技术保护点】
一种实现文件读取和/或写入的方法,其特征在于,包括:第一HDFS客户端接收客户终端发送的文件读取信息和/或文件写入信息,所述第一HDFS客户端为预设的与所述客户终端默认对应的HDFS客户端;所述第一HDFS客户端根据所述文件读取信息和/或文件写入信息与名称服务器进行交互,获取所述名称服务器发送的文件节点信息;所述第一HDFS客户端根据所述文件节点信息对应的数据服务器完成文件读取和/或文件写入。
【技术特征摘要】
【专利技术属性】
技术研发人员:荆宇,
申请(专利权)人:宇龙计算机通信科技深圳有限公司,
类型:发明
国别省市:94
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。