Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5769

Bootstrap a write pipeline from read-only replicas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • hdfs-client, namenode
    • None

    Description

      HDFS-1606 added the capability for the DFSClient to add DataNodes to an existing write pipeline. HDFS-2832 and HDFS-5318 introduce read-only replicas to HDFS. This JIRA proposes using the HDFS-1606 addDatanode2ExistingPipeline() capability to enable recovering in scenarios where only read-only replicas are available (i.e. all read-write replicas are offline).

      The following scenarios should be supported:

      1. Recovering an initial write pipeline with repcount=1 (see HDFS-5434) when the datanode hosting the r/w replica fails (but r/o replicas are available)
      2. Constructing an append pipeline for a block where the r/w replica is offline (but r/o replicas are available)

      In both cases, a pipeline of length 0 can be "bootstrapped" to a pipeline of length 1 using available r/o replicas.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sirianni Eric Sirianni
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: