|
Chris Dyer |
at Dec 4, 2009 at 11:41 pm
|
⇧ |
| |
I've written plenty of apps in c++ using the streaming interface-- you
just need to read from std::cin and write to std::cout. Keys and
Values are separated by a tab.
Since Pipes doesn't give you access to very much of the Hadoop/MR
runtime (e.g., HDFS), and it's not a very idiomatic c++ interface
(e.g., it passes around vectors of strings by value) and doesn't
provide any of the usual JobConf convenience functions, I haven't
found reason to use it.
Chris
On Fri, Dec 4, 2009 at 6:17 PM, Allen Wittenauer
wrote:
For C/C++, you should be using the pipes interface.
On 12/4/09 3:09 PM, "Upendra Dadi" wrote:
Hi,
Can anybody please give an example of a streaming mapper/reducer written in
C++? I don't seem to find even a single example on web. Thanks.
Upendra