Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6581 Write to single replica in memory
  3. HDFS-7192

DN should ignore lazyPersist hint if the writer is not local

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • datanode
    • None
    • Reviewed

    Description

      The DN should ignore allowLazyPersist hint to DataTransferProtocol#writeBlock if the writer is not local.

      Currently we don't restrict memory writes to local clients. For in-cluster clients this is not an issue as single replica writes default to the local DataNode. But clients outside the cluster can still send this hint.

      Attachments

        1. HDFS-7192.01.patch
          8 kB
          Arpit Agarwal
        2. HDFS-7192.02.patch
          17 kB
          Arpit Agarwal
        3. HDFS-7192.03.patch
          16 kB
          Arpit Agarwal
        4. HDFS-7192.04.patch
          16 kB
          Arpit Agarwal
        5. HDFS-7192.05.patch
          16 kB
          Arpit Agarwal

        Activity

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

          People

            arp Arpit Agarwal Assign to me
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment