Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      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

            People

            • Assignee:
              arpitagarwal Arpit Agarwal
              Reporter:
              arpitagarwal Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: