hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7192) DN should ignore lazyPersist hint if the writer is not local
Date Thu, 30 Jul 2015 20:16:05 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Arpit Agarwal updated HDFS-7192:
    Attachment: HDFS-7192.05.patch

Thanks for the review [~xyao].

The Jenkins test failure is unrelated. The v05 patch fixes the checkstyle issue by renaming
the parameter. I will commit the v05 patch shortly.

Delta wrt v04 patch.
-      final DataNode datanode, DataChecksum requestedChecksum,
+      final DataNode dn, DataChecksum requestedChecksum,
       CachingStrategy cachingStrategy,
       final boolean allowLazyPersist,
       final boolean pinning) throws IOException {
     return new BlockReceiver(block, storageType, in,
         inAddr, myAddr, stage, newGs, minBytesRcvd, maxBytesRcvd,
-        clientname, srcDataNode, datanode, requestedChecksum,
+        clientname, srcDataNode, dn, requestedChecksum,

> DN should ignore lazyPersist hint if the writer is not local
> ------------------------------------------------------------
>                 Key: HDFS-7192
>                 URL: https://issues.apache.org/jira/browse/HDFS-7192
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-7192.01.patch, HDFS-7192.02.patch, HDFS-7192.03.patch, HDFS-7192.04.patch,
> 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.

This message was sent by Atlassian JIRA

View raw message