Title:
METHOD FOR STORING FILE, FIRST VIRTUAL MACHINE AND NAMENODE
Document Type and Number:
WIPO Patent Application WO/2018/054079
Kind Code:
A1
Abstract:
A method for storing a file, a first virtual machine and a namenode, which are used for solving the problem of redundant files existing when a distributed file system stores files, and improving system availability. The method comprises: a client transmitting to a namenode a request message for requesting to write to-be-written data into a distributed file system; the namenode transmitting to the client a response message corresponding to the request message, the response message comprising the address of a first virtual machine and the address of a second virtual machine, and indicating that the first virtual machine is a virtual machine among a plurality of virtual machines that has the right to write data into a storage area and that the second virtual machine is a virtual machine among the plurality of virtual machines other than the first virtual machine; the client transmitting the to-be-written data and the address of the second virtual machine to the first virtual machine; the first virtual machine writing the to-be-written data into the storage area shared by the plurality of virtual machines, and generating or updating the metadata of the to-be-written data; the first virtual machine transmitting the generated or updated metadata to the second virtual machine.
More Like This:
Inventors:
LI YI (CN)
Application Number:
PCT/CN2017/085351
Publication Date:
March 29, 2018
Filing Date:
May 22, 2017
Export Citation:
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F17/30
Foreign References:
CN106446159A | 2017-02-22 | |||
CN103729250A | 2014-04-16 | |||
CN104731691A | 2015-06-24 | |||
CN104838374A | 2015-08-12 | |||
US20130325812A1 | 2013-12-05 |
Download PDF: