DATA RECOVERY METHOD, DATA STORAGE METHOD, AND CORRESPONDING APPARATUS AND SYSTEM

The present invention discloses a data recovery method, where the method is applied to a distributed storage system, and the distributed storage system includes a NameNode, multiple first storage nodes, and multiple second storage nodes; each of the first storage nodes includes a data processing app...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHUANG, Shiyue
Format: Patent
Sprache:eng ; fre ; ger
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention discloses a data recovery method, where the method is applied to a distributed storage system, and the distributed storage system includes a NameNode, multiple first storage nodes, and multiple second storage nodes; each of the first storage nodes includes a data processing apparatus, and each data processing apparatus is communicatively connected to the NameNode. The method includes: receiving, by the data processing apparatus, a file block obtaining request sent by user equipment, where the file block obtaining request carries an identifier of a target file; determining, according to the identifier of the target file, that a target file block is lost; obtaining, from the NameNode, an identifier of a target storage node on which a recovery dependence data block is located; and obtaining the recovery dependence data block according to the identifier of the target storage node and the identifier of the target file, to recover the target file block. According to the data recovery method provided in embodiments of the present invention, storage overheads are reduced; in data recovery, a part of a target file block can be obtained by depending on only a part of dependence file blocks, which reduces network overheads in data recovery.