Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12943 Consistent Reads from Standby Node
  3. HDFS-14792

[SBN read] StanbyNode does not come out of safemode while adding new blocks.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.10.1
    • namenode
    • None

    Description

      During startup StandbyNode reports that it needs additional X blocks to reach the threshold 1.0000. Where X is changing up and down.
      This is because with fast tailing SBN adds new blocks from edits while DNs have not reported replicas yet. Being in SafeMode SBN counts new blocks towards the threshold and can stay in SafeMode for a long time.
      By design, the purpose of startup SafeMode is to disallow modifications of the namespace and blocks map until all DN replicas are reported.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: