Last active
August 29, 2015 13:56
-
-
Save isaacabraham/9081647 to your computer and use it in GitHub Desktop.
Sample showing how to use HadoopFs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// A mapper exe | |
let mainMap argv = | |
doMap <| ManyOutputs WordCount.Mapper | |
0 | |
/// A reducer exe | |
let mainReduce argv = | |
doReduce <| SingleOutput WordCount.Reducer | |
0 | |
/// Testing a full map reduce, reading inputs from the file system and writing output to the console. | |
let mainMap argv = | |
doMapReduce <| ManyOutputs WordCount.Mapper <| SingleOutput WordCount.Reducer <| Readers.FileSystem(@"C:\Input.txt") <| Writers.Console | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment