You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "binlijin (JIRA)" <ji...@apache.org> on 2012/11/26 05:52:58 UTC
[jira] [Created] (HBASE-7216) sync hlog writer just after create
it, so trigger addBlock and establish write pipeline before the first hlog
sync
binlijin created HBASE-7216:
-------------------------------
Summary: sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
Key: HBASE-7216
URL: https://issues.apache.org/jira/browse/HBASE-7216
Project: HBase
Issue Type: Improvement
Reporter: binlijin
Current when hlog rollWriter:
(1)createWriter will call ClientProtocol.create
(2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync
--
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
[jira] [Updated] (HBASE-7216) sync hlog writer just after create
it, so trigger addBlock and establish write pipeline before the first hlog
sync
Posted by "binlijin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-7216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
binlijin updated HBASE-7216:
----------------------------
Attachment: HBASE-7216.patch
> sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7216
> URL: https://issues.apache.org/jira/browse/HBASE-7216
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Attachments: HBASE-7216.patch
>
>
> Current when hlog rollWriter:
> (1)createWriter will call ClientProtocol.create
> (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
> we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync
--
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
[jira] [Updated] (HBASE-7216) sync hlog writer just after create
it, so trigger addBlock and establish write pipeline before the first hlog
sync
Posted by "binlijin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-7216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
binlijin updated HBASE-7216:
----------------------------
Attachment: HBASE-7216-94.patch
> sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7216
> URL: https://issues.apache.org/jira/browse/HBASE-7216
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Attachments: HBASE-7216-94.patch, HBASE-7216.patch
>
>
> Current when hlog rollWriter:
> (1)createWriter will call ClientProtocol.create
> (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
> we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync
--
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
[jira] [Commented] (HBASE-7216) sync hlog writer just after create
it, so trigger addBlock and establish write pipeline before the first hlog
sync
Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-7216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503625#comment-13503625 ]
Lars Hofhansl commented on HBASE-7216:
--------------------------------------
Reasoning sounds good to me.
Do you have some benchmark numbers by any chance [~aoxiang]?
> sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7216
> URL: https://issues.apache.org/jira/browse/HBASE-7216
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Attachments: HBASE-7216-94.patch, HBASE-7216.patch
>
>
> Current when hlog rollWriter:
> (1)createWriter will call ClientProtocol.create
> (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
> we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync
--
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