How can get memory and CPU usage of hadoop yarn application? -


i want ask, after i've ran hadoop mapreduce application, how can total memory , cpu usage of application. i've seen on log , resource manager web page didn't it.

is possible? can per job execution or on per application, , can per node usage or total usage?

thanks lot....

yes, can check total memory , cpu usage of application.

you may use job tracker ui, click on counters link on completed page, , might typical view follows. memory , cpu counters highlighted.

enter image description here

clicking on highlighted links show consumption every tasks (map/reduce) of job.

to view these values of these consumption counters command line, may use

hadoop job -counter <job-id> org.apache.hadoop.mapreduce.taskcounter cpu_milliseconds cpu usage

hadoop job -counter <job-id> org.apache.hadoop.mapreduce.taskcounter physical_memory_bytes memory usage


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -