AMBARI-3342. Update upgrade script with latest config mapping.
AMBARI-3464: Mapred map and reduce memory properties need to be picked from stack. (jaimin)