[
https://issues.apache.org/jira/browse/HBASE-10010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831647#comment-13831647
]
Ted Yu commented on HBASE-10010:
--------------------------------
Looking at src/core/org/apache/hadoop/io/SequenceFile.java under branch-1, I
don't see the flush call:
{code}
/** Write and flush the file header. */
void writeFileHeader()
throws IOException {
Text.writeString(out, keyClass.getName());
Text.writeString(out, valClass.getName());
out.writeBoolean(this.isCompressed());
out.writeBoolean(this.isBlockCompressed());
if (this.isCompressed()) {
Text.writeString(out, (codec.getClass()).getName());
}
this.metadata.write(out);
}
{code}
> eliminate the put latency spike on the new log file beginning
> -------------------------------------------------------------
>
> Key: HBASE-10010
> URL: https://issues.apache.org/jira/browse/HBASE-10010
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Affects Versions: 0.94.13
> Reporter: Liang Xie
> Assignee: Liang Xie
> Attachments: HBase-10010-0.94-v2.txt, HBase-10010-0.94-v3.txt,
> HBase-10010-0.94.txt, HBase-10010-trunk-v2.txt, HBase-10010-trunk.txt
>
>
> In deed, the original finding came from fb, see HBASE-6813 for detailed
> discussion.
> Through this improvement doesn't expect obvious gain on 95th or 99th latency,
> it still could make the response time more stable to me.
--
This message was sent by Atlassian JIRA
(v6.1#6144)