{"push_id":706378585,"size":2,"distinct_size":2,"ref":"refs/heads/REEF-393","head":"72ac57e8668b89818a7c6f7c31b57fa9821a6601","before":"dfc1e41ffa3d501bfb3a07022556b1ee1bc30813","commits":[{"sha":"122940e50e482aa8da434b5ed0e052a9f614e2ae","author":{"email":"485a47dfadb102ad148c5277edb8fef01ec37a6f@gmail.com","name":"Kijung Shin"},"message":"[REEF-393]: OutputService for writing files to filesystem\n\nThis addressed the issue by\n  * implementing OuputService. OutputService retains an OutputStreamProvider.\n    Different OutputStreamProviders can be injected depending on the current runtime (e.g., Yarn and local).\n    Each task asks the OutputStreamProvider for an OutputStream by giving {name}.\n    OutputStreamProvider provides each task with an OutputStream to the file whose path is \"{output}/{name}/{task_id}\" where {output} should be injected by Tang.\n    Of course, two or more OutputStreams with different names can be provided with each task.\n    The goal of this service is to enable each task to write outputs without considering the current runtime and collision with other tasks.\n\n  * implementing an example application for OutputService.\n    In the example, three tasks create an output stream using 'hello' as a name.\n    Then they write \"Hello REEF!\" on the stream.\n    What they write is stored in the file whose path is {output}/hello/{task_id}.\n    You can run this example by using the following command:\n    \"yarn jar reef-examples-{reef-version}-incubating-SNAPSHOT-shaded.jar org.apache.reef.examples.data.output.OutputServiceREEF -local {local} -output {output}\"\n    Set {local} true to run locally, or false to run on YARN.\n    Set {output} the path of the output directory.\n\nJIRA: [REEF-393](https://issues.apache.org/jira/browse/REEF-393)","distinct":true,"url":"https://api.github.com/repos/kijungshin/incubator-reef/commits/122940e50e482aa8da434b5ed0e052a9f614e2ae"},{"sha":"72ac57e8668b89818a7c6f7c31b57fa9821a6601","author":{"email":"485a47dfadb102ad148c5277edb8fef01ec37a6f@gmail.com","name":"Kijung Shin"},"message":"Merge branch 'REEF-393' of https://github.com/kijungshin/incubator-reef into REEF-393","distinct":true,"url":"https://api.github.com/repos/kijungshin/incubator-reef/commits/72ac57e8668b89818a7c6f7c31b57fa9821a6601"}]}