Created
December 17, 2012 23:58
-
-
Save craigbeck/4323564 to your computer and use it in GitHub Desktop.
increase_hadoop_heap_size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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