|
KMR
|
Example for KMR shell command pipeline. More...
#include <stdio.h>#include <string.h>#include <stdlib.h>Go to the source code of this file.
Macros | |
| #define | KEYLEN 32767 |
| Maximum key-value string length. More... | |
| #define | LINELEN 32767 |
| Maximum line length. More... | |
Functions | |
| int | main (int argc, char *argv[]) |
| Reducer main routine. More... | |
Example for KMR shell command pipeline.
It is a reducer for word count.
Definition in file wc.reducer.c.
| #define LINELEN 32767 |
Maximum line length.
Definition at line 10 of file wc.reducer.c.
| #define KEYLEN 32767 |
Maximum key-value string length.
Definition at line 13 of file wc.reducer.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Reducer main routine.
Read stdin and reduce. Write result to stdout.
Definition at line 19 of file wc.reducer.c.
1.8.11