[ https://issues.apache.org/jira/browse/HDFS-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864856#comment-13864856 ]
Karthik Kambatla commented on HDFS-5715: ---------------------------------------- Just verified it builds fine with JDK6. To make sure it is this JIRA, I dropped the commit and it builds fine against JDK7 as well. > Use Snapshot ID to indicate the corresponding Snapshot for a > FileDiff/DirectoryDiff > ----------------------------------------------------------------------------------- > > Key: HDFS-5715 > URL: https://issues.apache.org/jira/browse/HDFS-5715 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Fix For: 3.0.0 > > Attachments: HDFS-5715.000.patch, HDFS-5715.001.patch, > HDFS-5715.002.patch > > > Currently FileDiff and DirectoryDiff both contain a snapshot object reference > to indicate its associated snapshot. Instead, we can simply record the > corresponding snapshot id there. This can simplify some logic and allow us to > use a byte array to represent the snapshot feature (HDFS-5714). -- This message was sent by Atlassian JIRA (v6.1.5#6160)