Just about code style. This could be rolled into helper function where jobConf == null and LOG.info could be done once by passing Constancts.MAP_MEMORY_MB_CONF_KEY and Constants.REDUCE_MEMORY_MB_CONF_KEY. 

If not, jobConf == null can be check outside and done only once.