diff options
author | Patrick Simianer <p@simianer.de> | 2011-09-24 23:46:49 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-24 23:46:49 +0200 |
commit | 5e1ab3481551607f1c2a10027049044cd41f78ab (patch) | |
tree | b89cc3587f2e5d34f14f4b977f8a0909f62fe8e1 /dtrain/test/wc_pipes/wordcount.hh | |
parent | 5584f300821e20369c25343222cd0e8faa393523 (diff) |
cleaning up
Diffstat (limited to 'dtrain/test/wc_pipes/wordcount.hh')
-rw-r--r-- | dtrain/test/wc_pipes/wordcount.hh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dtrain/test/wc_pipes/wordcount.hh b/dtrain/test/wc_pipes/wordcount.hh deleted file mode 100644 index c8fc8a29..00000000 --- a/dtrain/test/wc_pipes/wordcount.hh +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef __WORDCOUNT_HH__ -#define __WORDCOUNT_HH__ - - -#include <iostream> -#include <string> - -#include "hadoop/Pipes.hh" -#include "hadoop/TemplateFactory.hh" - -#include <boost/algorithm/string.hpp> -#include <boost/tokenizer.hpp> -#include <boost/lexical_cast.hpp> - -using namespace std; - - -class WordcountMapper : public HadoopPipes::Mapper -{ - public: - WordcountMapper( const HadoopPipes::TaskContext & ) {}; - void map( HadoopPipes::MapContext &context ); -}; - -class WordcountReducer : public HadoopPipes::Reducer -{ - public: - WordcountReducer( const HadoopPipes::TaskContext & ) {}; - void reduce( HadoopPipes::ReduceContext & context ); -}; - - -#endif - |