I am newbie in hadoop environment. I already set up 2 node cluster hadoop. then I run sample mapreduce application. (wordcount actually). then I got output like this
Mapreduce framwork maintains counters while the job has been submitted for execution. These counters are shown to user for understaing job statistics and to see benchmarks and performance analysis. Your job output has shown you some of the counters. There is a good explanation in definitive guide chapter 8 about the counters, i suggest you to check it once.
To explain about the items you asked for,
1) Total time spent by all maps - The total time taken running map tasks in milliseconds. Includes tasks that were started speculatively (Speculative means running a failed or slow job after waiting for specified time, in lament terms a speculative job means re-run of any particular map task).
2) Total time spent by all reduces - The total time taken running reduce tasks in milliseconds.
3) CPU Time - The cumulative CPU time for a task in milliseconds
4) Physical memory - The physical memory being used by a task in bytes, memory here counts the total memory used for spills as well.
5) Total virtual memory - The virtual memory being used by a task in bytes
6) Total committed heap usage - The total amount of memory available in the JVM in bytes
Hope this helps. The categories of counters and their details are neatly given in definitive guide, if you need any additional info, please let me know.
Thank You.
RAM is the primary memory that is used when processing a job. The data will be brought to RAM and job gets processed keep it there in RAM. But, data might be bigger that the RAM size allocated. In such scenarios, Operating system keeps the data in Disk and swaps it to and from RAM to allow even lessar RAM is sufficient for files those are higher in memory. for eg: RAM is 64MB, and suppose if the file size is 128 MB, then 64MB will be kept in RAM first and other 64 in DISK, and swaps it. Though it wont keep it as 64MB and 64 MB, internally it divides into segments/pages.
I just gave an example to understand. A virtual memory is a concept to work for files bigger than RAM by using the pages and swapping with DISK and RAM. So for above case, it virtually using 64 MB from Disk as RAM so it is called as Virtual memory.
Hope you understand. If you satisfied with the answer, please accept it as answer. Let me know if you have any questions.
Heap the JVM memory used for object store, which is set using JVM_OPTS in command line. Normally all java programs need to have these settings.