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, 18 Jun 2015 00:02:38 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.02.patch

Updated patch with unit tests.

Some edits to {{DataXceiver#writeBlock}} to stub out couple of calls for testing.

> 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
>
>
> 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
(v6.3.4#6332)

Mime
View raw message