[
https://issues.apache.org/jira/browse/HBASE-11240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059596#comment-14059596
]
Enis Soztutar commented on HBASE-11240:
---------------------------------------
[~liushaohui] There is one more problem with the patch, that this line does ms
-> nano conversion wrong. It should multiply by 1M rather than 1K.
{code}
this.slowSyncNs =
1000 * conf.getInt("hbase.regionserver.hlog.slowsync.ms",
DEFAULT_SLOW_SYNC_TIME_MS);
{code}
> Print hdfs pipeline when hlog's sync is slow
> --------------------------------------------
>
> Key: HBASE-11240
> URL: https://issues.apache.org/jira/browse/HBASE-11240
> Project: HBase
> Issue Type: Improvement
> Components: Operability, wal
> Reporter: Liu Shaohui
> Assignee: Liu Shaohui
> Fix For: 2.0.0
>
> Attachments: HBASE-11240-trunk-v1.diff, HBASE-11240-trunk-v2.diff
>
>
> Sometimes the slow sync of hlog writer is because there is an abnormal
> datanode in the pipeline. So it will be helpful to print the pipeline of slow
> sync to diagnose those problems.
> The ultimate solution is to join the trace of HBase and HDFS.
--
This message was sent by Atlassian JIRA
(v6.2#6252)