Fredfsh hadoop 2.4.0

Port to compile and run with Hadoop-2.4.0