METHOD, DEVICE, NODE AND SYSTEM FOR MANAGING FILE IN DISTRIBUTED DATA WAREHOUSE
A method, a device, a node and a system for managing file in distributed data warehouse are provided. The method includes: acquiring, by a data node, a deleting instruction carrying a data block identifier, wherein the deleting instruction is sent by a management node; suspending, by the data node,...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method, a device, a node and a system for managing file in distributed data warehouse are provided. The method includes: acquiring, by a data node, a deleting instruction carrying a data block identifier, wherein the deleting instruction is sent by a management node; suspending, by the data node, the deleting instruction; and deleting, by the data node, a data block corresponding to the data block identifier after a condition is met, thereby resolving the technical issue that an accidentally deleted file can not be recovered by setting a trash in the management node in some cases and ensuring the data security of the Hadoop system.
L'invention concerne un procédé, un dispositif, un nœud et un système de gestion de fichiers dans un entrepôt de données distribuées. Le procédé comprend : l'acquisition, par un nœud de données, d'une instruction de suppression portant un identifiant de bloc de données, l'instruction de suppression étant envoyée par un nœud de gestion ; la suspension, par le nœud de données, de l'instruction de suppression ; la suppression, par le nœud de données, d'un bloc de données correspondant à l'identifiant de bloc de données après qu'une condition a été satisfaite, ce qui résout ainsi le problème technique selon lequel un fichier accidentellement supprimé ne peut pas être récupéré en établissant une corbeille dans le nœud de gestion, dans certains cas, et ce qui assure la sécurité des données du système Hadoop. |
---|