Professional Documents
Culture Documents
Hadoop Streaming Hadoop Pipes Swig: 4 Inputs and Outputs
Hadoop Streaming Hadoop Pipes Swig: 4 Inputs and Outputs
Hadoop Streaming is a utility which allows users to create and run jobs with any
executables (e.g. shell utilities) as the mapper and/or the reducer.
Hadoop Pipes is a SWIG- compatible C++ API to implement MapReduce applications
(non JNITM based).
WordCount.java
1. package org.myorg;
2.
3. import java.io.IOException;
4. import java.util.*;
5.
6. import org.apache.hadoop.fs.Path;
7. import org.apache.hadoop.conf.*;
Copyright 2008 The Apache Software Foundation. All rights reserved. Page 3