编译过的hadoopcore1.0.4.jar可以在本地模拟MapReduce
编译过的hadoop-core-1.0.4.jar,可以在本地模拟MapReduce如果Eclipseworkspace在d:,则我们可以把d:的某个目录,比如d:\input作为输入目录;d:\output作为输出目录。MapReduce编程模型里面这样写就可以了:FileInputFormat.setInputPaths(job,newPath("/input"));FileOutputFormat.setOutputPath(job,newPath("/output"));
下载地址
用户评论