You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Christian Kremnitzer <kr...@ai.wu-wien.ac.at> on 2007/10/30 08:54:36 UTC

Hadoop-Streaming with C

Hello @all!

 

I am using Hadoop (version 0.14.3) and I tried to execute Hadoop-Streaming
with C.

Firstly, I compiled and linked my C-Files, then specified it as mapper and
reducer to hadoop-streaming.

 

The code seems to work, as no error message occurred on the web-interface.
The mapper receives input data correctly, but does no output of data.

Consequently, also the resulting output file is empty. 

 

Do I make any failures with stdin or stdout?

Could anyone give me a small example of a simple mapper and a simple reducer
in C (not C++)?

 

Thanks a lot in advance.

 

Christian

 

 

------------------------------------------------------ 

University of Economics and Business Administration

Research Institute for Computational Methods

UZA 2 

Augasse 2-6

A-1090 Wien

 

Tel: +43-1-31336-5251

E-Mail:  <ma...@ai.wu-wien.ac.at> kremnitzer@ai.wu-wien.ac.at

Web:  <http://www.wu-wien.ac.at/firm> http://www.wu-wien.ac.at/firm

------------------------------------------------------