[ 
https://issues.apache.org/jira/browse/HBASE-27888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chaijunjie updated HBASE-27888:
-------------------------------
    Release Note: 
Add a configuration parameter,which control to record read block slow in logs.
<property>
  <name>hbase.fs.reader.warn.time.ms</name>
  <value>-1</value>
</property>
If reading block cost time in milliseconds more than the threshold, a warning 
will be logged,the default value is -1, it means skipping record the read block 
slow warning log.

> Record readBlock message in log when it takes too long time
> -----------------------------------------------------------
>
>                 Key: HBASE-27888
>                 URL: https://issues.apache.org/jira/browse/HBASE-27888
>             Project: HBase
>          Issue Type: Improvement
>          Components: HFile
>    Affects Versions: 2.5.3
>            Reporter: chaijunjie
>            Assignee: chaijunjie
>            Priority: Minor
>             Fix For: 2.6.0, 2.5.6, 3.0.0-beta-1
>
>
> After HBASE-15160, we can record the readBlock message by TRACE log in 
> org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReaderImpl#readBlockDataInternal,
>  But it record all read block message in TRACE log, some times, we only focus 
> the block read cost too much time..



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to