diff options
author | Patrick Simianer <p@simianer.de> | 2011-09-25 21:59:39 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-25 21:59:39 +0200 |
commit | 4cd076acd1760035df693ff4f93a79b5d5c3d29d (patch) | |
tree | b25f68372484b81647cdf1b016cbaafb37d0be50 /dtrain/test/wc_pipes/wordcount.h | |
parent | 9fe6d978313f742477863ff42b9158cf2f55414f (diff) |
removed old stuff
Diffstat (limited to 'dtrain/test/wc_pipes/wordcount.h')
-rw-r--r-- | dtrain/test/wc_pipes/wordcount.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dtrain/test/wc_pipes/wordcount.h b/dtrain/test/wc_pipes/wordcount.h deleted file mode 100644 index c8fc8a29..00000000 --- a/dtrain/test/wc_pipes/wordcount.h +++ /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 - |