Edit
/etc/sysconfig/elasticsearch
put
echo ES_TMPDIR=/var/lib/elasticsearch/tmp
chmod 777 /var/lib/elasticsearch/tmp