Useful stuff for Hadoop