Task #2237 Add code to group data by cpu and memory usages

- Created the method to group the memory data.


# Bug Fix

The method Hadoop.getHadoopProcesses was not handling the incarnation
id's log.