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

Add parameter for NameNode to process getBloks request

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HDFS-13183  add a nice feature that Standby NameNode can process getBlocks request to reduce Active load.  Namenode must set  `dfs.ha.allow.stale.reads = true` to enable this feature. However, if we  set `dfs.ha.allow.stale.reads = true`, Standby Namenode will be able to  process all read requests, which may lead to yarn jobs fail  because  Standby Namenode is stale . 

      Maybe we should add a config `dfs.namenode.get-blocks.check.operation=false` for namenode to disable check operation  when namenode process getBlocks request.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            max2049 Max Xie
            max2049 Max Xie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                Slack

                  Issue deployment