You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mitesh Singh Jat (Created) (JIRA)" <ji...@apache.org> on 2011/12/15 13:22:30 UTC

[jira] [Created] (MAPREDUCE-3565) Hadoop Job Counters are misleading in JT/HistoryViewer Web UI

Hadoop Job Counters are misleading in JT/HistoryViewer Web UI
-------------------------------------------------------------

                 Key: MAPREDUCE-3565
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3565
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.20.205.0, 0.20.2, 0.20.204.1
            Reporter: Mitesh Singh Jat
            Priority: Minor


A sample counters taken from a webui of JT
{noformat}
                        Counter 	        Map 	Reduce 	Total
Job Counters 	
                        Launched reduce tasks 	0 	0 	1,000
                        SLOTS_MILLIS_MAPS 	0 	0 	3,572,661,800
                        Total time spent by 
                         all reduces waiting 
                         after reserving slots 
                         (ms)           	0 	0 	0
                        Total time spent by 
                         all maps waiting 
                         after reserving 
                         slots (ms)     	0 	0 	0
                        Rack-local map tasks 	0 	0 	5,031
                        Launched map tasks 	0 	0 	13,047
                        Data-local map tasks 	0 	0 	7,981
                        SLOTS_MILLIS_REDUCES 	0 	0 	2,554,721,397
{noformat}

In the above table, the "Rack-local map tasks" is shown as
{noformat} 
0(Map) + 0(Reduce) = 5031(Total)
{noformat}
This appears misleading to users.

This counter is available in _COUNTERS_ but not in both _MAP_COUNTERS_ and _REDUCE_COUNTERS_
{code}
COUNTERS="...{(org\.apache\.hadoop\.mapred\.JobInProgress$Counter)(Job Counters )...
[(RACK_LOCAL_MAPS)(Rack-local map tasks)(5031)]...[(TOTAL_LAUNCHED_MAPS)(Launched map tasks)(13047)][(DATA_LOCAL_MAPS)(Data-local map tasks)(7981)]...}..."
{code}

Is it possible to put (NA/-/<blank>) instead of 0 in unavailable counter in particular column?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira