在给定的文本中统计相同单词的出现次数(hadoop平台运行)
截图如下:
原文本中内容是
hello computer
hello world
原文本中的内容如下
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models It is designed to scale up from single servers to thousands of machines each offering local computation and storage Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer so delivering a highly-available service on top of a cluster of computers each of which may be prone to failures
源代码过段时间在上传。。。。