spark-env.sh: add a bunch of env vars

moving some stuff from .bashrc-local to here.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
yarn-site.xml: use 2 AM attempts again

Go back to the default of 2.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>