Some code that I use when developing hadoop applications