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

    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.05.patch
          16 kB
          Arpit Agarwal
        2. HDFS-7192.04.patch
          16 kB
          Arpit Agarwal
        3. HDFS-7192.03.patch
          16 kB
          Arpit Agarwal
        4. HDFS-7192.02.patch
          17 kB
          Arpit Agarwal
        5. HDFS-7192.01.patch
          8 kB
          Arpit Agarwal

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: