AMBARI-5425. Set -server in java opts in mapred-site.xml and tez-site.xml.(vbrodetskyi)