From fb847d2bb05ffff84b5eff8441b0a1fc1f2fa389 Mon Sep 17 00:00:00 2001 From: Andrea Smith Date: Tue, 3 Nov 2020 12:43:27 -0600 Subject: aaaa --- P2/lib/utils.c | 2 +- P2/lib/utils.o | Bin 0 -> 18096 bytes P2/mapper | Bin 0 -> 32920 bytes P2/mapreduce | Bin 0 -> 30544 bytes P2/reducer | Bin 0 -> 31840 bytes 5 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 P2/lib/utils.o create mode 100755 P2/mapper create mode 100755 P2/mapreduce create mode 100755 P2/reducer diff --git a/P2/lib/utils.c b/P2/lib/utils.c index b9d4be6..4f86f50 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -33,7 +33,7 @@ char *getChunkData(int mapperID) { // DEBUG! malloc a buffer/return char* value = malloc(1024); // chunkSize or MSGSIZE? return value; - // Free memory + // Free memory outside of getChunkData? // printf("%s\n", message.msgText); //printf("RECEIVED CHUNK:%s\nRECEIVED VALUE:%ld\n", value, message.msgType); diff --git a/P2/lib/utils.o b/P2/lib/utils.o new file mode 100644 index 0000000..7b61d53 Binary files /dev/null and b/P2/lib/utils.o differ diff --git a/P2/mapper b/P2/mapper new file mode 100755 index 0000000..1764b56 Binary files /dev/null and b/P2/mapper differ diff --git a/P2/mapreduce b/P2/mapreduce new file mode 100755 index 0000000..1020a54 Binary files /dev/null and b/P2/mapreduce differ diff --git a/P2/reducer b/P2/reducer new file mode 100755 index 0000000..919dfd4 Binary files /dev/null and b/P2/reducer differ -- cgit v1.2.3