aboutsummaryrefslogtreecommitdiffstats
path: root/P2/src/mapreduce.c
diff options
context:
space:
mode:
Diffstat (limited to 'P2/src/mapreduce.c')
-rw-r--r--P2/src/mapreduce.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/P2/src/mapreduce.c b/P2/src/mapreduce.c
index 962a9ca..7f87019 100644
--- a/P2/src/mapreduce.c
+++ b/P2/src/mapreduce.c
@@ -49,6 +49,7 @@ int main(int argc, char *argv[]) {
pid_t pid = fork();
if(pid == 0){
//send chunks of data to the mappers in RR fashion
+ printf("TEST\n");
sendChunkData(inputFile, nMappers);
exit(0);
}
@@ -77,5 +78,6 @@ int main(int argc, char *argv[]) {
// wait for all children to complete execution
while (wait(&status) > 0);
+ closeQueue();
return 0;
} \ No newline at end of file