[ https://issues.apache.org/jira/browse/HDFS-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738835#comment-13738835 ]
Colin Patrick McCabe commented on HDFS-5051: -------------------------------------------- bq. Andrew, quick comment - do you expect datanode to send cache report every 10 seconds or only when datanode has cache enabled? Once we piggyback cache additions and removals on the existing DN heartbeats (see HDFS-5092), we only need to send full cache reports rarely-- maybe every few minutes. At that point, it should not be a huge issue to send an empty full cache report every 10 minutes if caching is disabled. If we want to optimize it further for the no-cache case, we can follow up with that later. > 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