You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/03/24 22:34:00 UTC

[jira] [Updated] (HBASE-8868) add metric to report client shortcircuit reads

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

Michael Stack updated HBASE-8868:
---------------------------------
    Fix Version/s: 2.3.0
                   3.0.0
     Hadoop Flags: Reviewed
     Release Note: 
Expose file system level read metrics for RegionServer.

If the HBase RS runs on top of HDFS, calculate the aggregation of
ReadStatistics of each HdfsFileInputStream. These metrics include:
(1) total number of bytes read from HDFS.
(2) total number of bytes read from local DataNode.
(3) total number of bytes read locally through short-circuit read.
(4) total number of bytes read locally through zero-copy read.

Because HDFS ReadStatistics is calculated per input stream, it is not
feasible to update the aggregated number in real time. Instead, the
metrics are updated when an input stream is closed.
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Pushed to branch-2.3+

Nice additions [~weichiu]

> add metric to report client shortcircuit reads
> ----------------------------------------------
>
>                 Key: HBASE-8868
>                 URL: https://issues.apache.org/jira/browse/HBASE-8868
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics, regionserver
>    Affects Versions: 0.94.8, 0.95.1
>            Reporter: Viral Bajaria
>            Assignee: Wei-Chiu Chuang
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HBASE-8868.master.001.patch
>
>
> With the availability of shortcircuit reads, when the feature is enabled there is no metric which exposes how many times the regionserver was able to shortcircuit the read and not make a IPC to the datanode.
> It will be great to add the metric and expose it via Ganglia.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)