You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2016/09/30 06:42:20 UTC

[jira] [Resolved] (HBASE-16493) MapReduce counters not updated with ScanMetrics

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

Ashish Singhi resolved HBASE-16493.
-----------------------------------
    Resolution: Duplicate

Duplicate of HBASE-16678

> MapReduce counters not updated with ScanMetrics 
> ------------------------------------------------
>
>                 Key: HBASE-16493
>                 URL: https://issues.apache.org/jira/browse/HBASE-16493
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 1.0.0, 2.0.0, 1.1.0
>            Reporter: Jacobo Coll
>
> ScanMetrics were introduced in the [HBASE-4145]. These metrics were able to work even in a parallel environment such as MapReduce.
> The TableRecordReader creates a Scanner with a copy of the given "scan", called "currentScan". The ScanMetrics are captured by the Scanner and modifies the given Scan instance, "currentScan". The TableRecordReader, after reading the last value, updates the job counters to aggregate them. 
> But since [HBASE-13030], the TableRecordReader reads the scanMetrics from the object "scan" instead of using the "currentScan"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)