[ https://issues.apache.org/jira/browse/HDFS-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740174#comment-13740174 ]
Suresh Srinivas commented on HDFS-5051: --------------------------------------- bq. I included the gen stamp and length in the cacheReport to handle caching newly appended data. We need to specify what the cache behavior in this case is. My understanding was that for the first phase new data written will not be cached automatically. In fact any file that is being written to will not be cached until it is closed. Lets clearly define the behavior in these cases. Rest sounds good. Thank you [~andrew.wang] for comprehensive look at the comments. > Propagate cache status information from the DataNode to the NameNode > -------------------------------------------------------------------- > > Key: HDFS-5051 > URL: https://issues.apache.org/jira/browse/HDFS-5051 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Colin Patrick McCabe > Assignee: Andrew Wang > Attachments: hdfs-5051-1.patch, hdfs-5051-2.patch > > > The DataNode needs to inform the NameNode of its current cache state. Let's > wire up the RPCs and stub out the relevant methods on the DN and NN side. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira