Description
In mapred-env, set HADOOP_JOB_HISTORYSERVER_HEAPSIZE 1000 by default, That is incorrect.
We should set it 1000 by default only if it's empty.
Because if you run 'HADOOP_JOB_HISTORYSERVER_HEAPSIZE =512 $HADOOP_HOME/sbin/mr-jobhistory-daemon.sh start historyserver', HADOOP_JOB_HISTORYSERVER_HEAPSIZE will be set 1000, rather than 512.