Squashed commit of the following:

commit 74f367ad5b38e3028dd9c4dafdf53c5c1ba54daf
Author: Andrew Or <andrewor14@gmail.com>
Date:   Thu Jan 9 11:20:02 2014 -0800

    Minor changes

commit ce3196a07ec6e27ce4ac54fd41d8c54dad17bb11
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 23:19:44 2014 -0800

    Guard against potential race condition by atomically check-and-allocate

commit 52e34b048b26e8193d65441b3d962cd5d5a70b39
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 21:12:31 2014 -0800

    Clean up logging

commit 288b2f27c9e5d13285fa5ec5d7c75a8f4a23303c
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 20:25:27 2014 -0800

    Really weird null pointer

commit fd508f1895e33c860ea4b8f0526d53a67e47eeba
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 20:12:23 2014 -0800

    Add more dem prints

commit 57338d674a31916abd6bb94ac097b90db928dd2e
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 18:07:41 2014 -0800

    Get rid of really weird statement

commit 4afb1a44a9d4a57d080bc613a84f74c06f620340
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 17:59:35 2014 -0800

    Get rid of weird offending log

commit bde1736462650b0a441539faa89a59ef32f8ec31
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 17:47:01 2014 -0800

    Fix bug

commit 8bb8b7dec08ca6a50c5423fcea45c842d24c8a50
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 17:22:38 2014 -0800

    Maintaining a global pool of memory

commit f3d3adfe5965808621d19615ef74f9305918a88d
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 11:44:17 2014 -0800

    Log sort time for merge case

commit 21d2f7592129b934fbc60f3a181925c6e421ed8b
Merge: 1fac1a4 820b1cd
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 10:41:38 2014 -0800

    Merge changes

commit 1fac1a43ad450a88cd3f43257e0446becc001f68
Author: Andrew Or <andrewor14@gmail.com>
Date:   Wed Jan 8 10:39:19 2014 -0800

    Add more timing logging

commit 820b1cd008834746de954009795f323e1dab558a
Author: root <root@ip-10-183-156-27.ec2.internal>
Date:   Wed Jan 8 02:38:49 2014 +0000

    Add print message in CoGroupedRDD

commit 8f3e360012b6e2347c56561b4fdcfb2c9604875b
Author: root <root@ip-10-183-156-27.ec2.internal>
Date:   Tue Jan 7 21:17:57 2014 +0000

    Print spill/sort times

commit 80c7d74f8dd0014e9386b394335186e29ff693df
Author: andrewor14 <andrewor14@gmail.com>
Date:   Tue Jan 7 02:15:29 2014 +0000

    Try new sparkConf thing

commit 0c012f14eb65231e7b10d1e9d381cf86495a3264
Author: andrewor14 <andrewor14@gmail.com>
Date:   Tue Jan 7 01:25:27 2014 +0000

    Add run time max memory messages

commit d5ca36665e41f48e06c98a7a757e1c1354598e05
Author: andrewor14 <andrewor14@gmail.com>
Date:   Tue Jan 7 00:40:25 2014 +0000

    Fix typo

commit d7a8641fbec024e20062307900d67fc114a02195
Author: andrewor14 <andrewor14@gmail.com>
Date:   Tue Jan 7 00:29:15 2014 +0000

    Even more info

commit 3a1b92ca88da9e8d0d236bfb1fcfef005dd7ac7a
Author: andrewor14 <andrewor14@gmail.com>
Date:   Mon Jan 6 23:48:00 2014 +0000

    Correct compile error

commit 79490c8b299f0646726849996ec4561b0670237a
Author: andrewor14 <andrewor14@gmail.com>
Date:   Mon Jan 6 23:36:30 2014 +0000

    Add debug message for externalSorting w/o spilling

commit bb804ff6246637b8fdeaf626da07079e1640ac7a
Author: root <root@ip-10-158-45-59.ec2.internal>
Date:   Mon Jan 6 19:12:51 2014 +0000

    Print useful memory/disk info