[ 
https://issues.apache.org/jira/browse/HDFS-6581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141567#comment-14141567
 ] 

Suresh Srinivas commented on HDFS-6581:
---------------------------------------

I caught up with [~arpitagarwal] about the current eviction policy. Fifo is not 
a great choice. I think we should consider LRU.

bq. I don't think creating a usable eviction strategy is that hard. I can help 
with it, but probably not for a few days.
[~cmccabe], I keep hearing usable eviction strategy and better eviction 
strategy. What is it? How do you decide it is better or usable? We should make 
sure the policy we go with is decent enough. I agree Fifo is not it. As regards 
to other approaches and improvements, one can certainly make it available using 
the plugin approach.

> Write to single replica in memory
> ---------------------------------
>
>                 Key: HDFS-6581
>                 URL: https://issues.apache.org/jira/browse/HDFS-6581
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-6581.merge.01.patch, HDFS-6581.merge.02.patch, 
> HDFS-6581.merge.03.patch, HDFS-6581.merge.04.patch, HDFS-6581.merge.05.patch, 
> HDFS-6581.merge.06.patch, HDFS-6581.merge.07.patch, 
> HDFSWriteableReplicasInMemory.pdf, Test-Plan-for-HDFS-6581-Memory-Storage.pdf
>
>
> Per discussion with the community on HDFS-5851, we will implement writing to 
> a single replica in DN memory via DataTransferProtocol.
> This avoids some of the issues with short-circuit writes, which we can 
> revisit at a later time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to