Skip to content

Instantly share code, notes, and snippets.

@craigbeck
Created December 17, 2012 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigbeck/4323564 to your computer and use it in GitHub Desktop.
Save craigbeck/4323564 to your computer and use it in GitHub Desktop.
increase_hadoop_heap_size
#!/bin/bash
if [ $# -lt 1 ]; then
SIZE="2048"
else
SIZE=$1
fi
echo "export 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