Difference between revisions of "Cholera MapReduce Application"

From CSE231 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
=Motivation=
 
=Motivation=
Imagine you are a physician in 1854 London in the midst of a cholera outbreak. Your theory that contiminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air.
+
[https://en.wikipedia.org/wiki/Epidemiology Epidemiology is the important study of "why certain people are getting ill."]
  
Imagine further that you somehow have access to computing.
+
=Background=
 +
[[File:John_Snow_memorial_and_pub.jpg|thumb]]
  
=Background=
+
Imagine you are [https://en.wikipedia.org/wiki/John_Snow a physician] in [https://en.wikipedia.org/wiki/1854_Broad_Street_cholera_outbreak 1854 London in the midst of a cholera outbreak].  Your theory that contaminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air.
https://en.wikipedia.org/wiki/John_Snow
 
  
[[File:John_Snow_memorial_and_pub.jpg|200px]]
+
Imagine further that you somehow have access to computing.
  
[[File:Snow-cholera-map-1.jpg|200px]]
+
[[File:Snow-cholera-map-1.jpg|thumb]]
  
 
=Code To Implement=
 
=Code To Implement=
{{CodeToImplement|CholeraMapper|map|mapreduce.apps.cholera.studio}}
+
{{CodeToImplement|CholeraApp|getValueRepresentation<br>createMapper<br>createCollector|mapreduce.apps.cholera.studio}}
  
 
=Testing Your Solution=
 
=Testing Your Solution=

Revision as of 19:01, 26 February 2018

Motivation

Epidemiology is the important study of "why certain people are getting ill."

Background

John Snow memorial and pub.jpg

Imagine you are a physician in 1854 London in the midst of a cholera outbreak. Your theory that contaminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air.

Imagine further that you somehow have access to computing.

Snow-cholera-map-1.jpg

Code To Implement

class: CholeraApp.java Java.png
methods: getValueRepresentation
createMapper
createCollector
package: mapreduce.apps.cholera.studio
source folder: student/src/main/java

Testing Your Solution

Visualization

CholeraOutbreak.png

Correctness

class: CholeraStudioTestSuite.java Junit.png
package: mapreduce
source folder: testing/src/test/java