some analysis codes based on Hadoop