[
https://issues.apache.org/jira/browse/HADOOP-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568731#action_12568731
]
Konstantin Shvachko commented on HADOOP-2345:
---------------------------------------------
# FSEditLog.loadFSEdits(). This is what meant in (9):
{code}
case OP_SET_GENSTAMP: {
long generation = in.readLong();
fsDir.namesystem.setGenerationStamp(generation);
{code}
# FSNamesystem.generationStamp. In (12) I meant
{code}
/**
* The global generation stamp for this file system. Valid values start from
1000.
*/
private GenerationStamp generationStamp = new GenerationStamp(1000);
{code}
# I like the new prototype of FSDirectory.delete().
I suggest we simplify the loop statement in FSImage.deleteInternal()
{code}
INode old = dir.delete(src, deletedBlocks);
if (old == null)
return false;
for (Block b : deletedBlocks) {
.........
}
{code}
> new transactions to support HDFS Appends
> ----------------------------------------
>
> Key: HADOOP-2345
> URL: https://issues.apache.org/jira/browse/HADOOP-2345
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Fix For: 0.17.0
>
> Attachments: AppendTransactions.patch, AppendTransactions2.patch,
> AppendTransactions3.patch, AppendTransactions4.patch
>
>
> This JIRA adresses the changes needed to the transaction mechanism to support
> appending data to existing HDFS files. The details of this design is
> documented in HADOOP-1700.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.