摘要:先说明:本文基于hadoop 0.20.2版本。文章来源:http://www.codelast.com/(1)首先我们需要知道map-reduce的基本原理,这里不说了。其次我们需要知道,在用C++编写hadoop应用程序时,需要包含三个头文件:#include "Pipes.hh"#include "TemplateFactory.hh"#include "StringUtils.hh"这三个文件在hadoop安装包的 “c++\Linux-amd64-64\include\” 或 “c++\Linux-i386-32\inclu
阅读全文