Skip to content

Instantly share code, notes, and snippets.

@ogrodnek
Created January 27, 2011 00:37
Show Gist options
  • Save ogrodnek/797836 to your computer and use it in GitHub Desktop.
Save ogrodnek/797836 to your computer and use it in GitHub Desktop.
EMR bootstrap script to set the hadoop head size
#!/bin/bash
if [ $# -lt 1 ]; then
SIZE="2048"
else
SIZE=$1
fi
echo "HADOOP_HEAPSIZE=${SIZE}" >> /home/hadoop/conf/hadoop-user-env.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment