hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5715) Use Snapshot ID to indicate the corresponding Snapshot for a FileDiff/DirectoryDiff
Date Tue, 07 Jan 2014 23:25:51 GMT

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

Karthik Kambatla commented on HDFS-5715:
----------------------------------------

Interesting! maven - 3.0.3, jdk - 1.7.0_40

{noformat}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[32,48]
OutputFormat is internal proprietary API and may be removed in a future release
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[33,48]
XMLSerializer is internal proprietary API and may be removed in a future release
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/AbstractINodeDiff.java:[134,53]
error: snapshotId has private access in AbstractINodeDiff
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[55,4]
OutputFormat is internal proprietary API and may be removed in a future release
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[55,33]
OutputFormat is internal proprietary API and may be removed in a future release
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[59,4]
XMLSerializer is internal proprietary API and may be removed in a future release
[ERROR] /home/kasha/code/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:[59,35]
XMLSerializer is internal proprietary API and may be removed in a future release
[INFO] 7 errors 
{noformat}

> 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)

Mime
View raw message