×

Distributed file system using consensus nodes

  • US 9,361,311 B2
  • Filed: 08/29/2013
  • Issued: 06/07/2016
  • Est. Priority Date: 01/12/2005
  • Status: Active Grant
First Claim
Patent Images

1. A cluster of nodes comprising computing devices configured to implement a distributed file system, comprising:

  • a plurality of data nodes, each data node configured to store data blocks of client files;

    at least two active namenodes, each active namenode coupled to the plurality of data nodes and said each active namenode configured to store a state of a same namespace of the cluster, the namespace including at least a location within said each data node of the plurality of data nodes of each data block of the client files across the cluster, said each active namenode of the at least two active namenodes being configured to respond to any request from any client of the distributed file system to generate a new data block or enable a new data block to be stored on any of the data nodes while at least one other of the active namenodes is responding to any other request from the same or any other client to generate another new data block or enable another new data block to be stored on any of the data nodes, only one of the active namenodes being configured to periodically issue a block replicator heartbeat message and to respond to requests from any client to replicate or delete data blocks from the data nodes;

    persistent storage memory, coupled to the at least two active namenodes, configured to store at least one journal containing updates to the namespace of the cluster; and

    a coordination engine coupled to said each active namenode of the active namenodes, the coordination engine being configured to receive proposals from the active namenodes to change the state of the namespace by at least one of replicating, deleting and adding data blocks in at least one of the plurality of data nodes and to generate, in response, an ordered set of agreements that specifies an order in which the active namenodes are to change the state of the namespace, wherein the active namenodes are configured to delay making changes to the state of the namespace and updating the journal in the persistent storage memory until the ordered set of agreements is received from the coordination engine,wherein failure of the active namenode configured to enable replication and deletion of data blocks to periodically issue the block replicator heartbeat triggers an election process to elect a new active namenode that is to be solely configured to enable replication and deletion of data blocks.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×