-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48811/#review138622
-----------------------------------------------------------


Ship it!




lgtm. As for the unit test, is it possible to access the file handle within the 
writer object and after calling writer.close(), make sure that the file is 
closed as well?

- Yi Pan (Data Infrastructure)


On June 16, 2016, 6:59 p.m., Benjamin Smith wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48811/
> -----------------------------------------------------------
> 
> (Updated June 16, 2016, 6:59 p.m.)
> 
> 
> Review request for samza.
> 
> 
> Repository: samza
> 
> 
> Description
> -------
> 
> Create writer with appropriate API to ensure stream is closed with writer, 
> and not just flushed
> 
> 
> Diffs
> -----
> 
>   
> samza-hdfs/src/main/scala/org/apache/samza/system/hdfs/writer/SequenceFileHdfsWriter.scala
>  46ade333af6acf1f2646924854bc2290ff56b5cb 
> 
> Diff: https://reviews.apache.org/r/48811/diff/
> 
> 
> Testing
> -------
> 
> Unit tests pass successfully.
> Performing manual test in our code base to ensure that files close properly 
> (we currently see them remain open and several hour delays in propogating 
> writes to HDFS)
> 
> Open to suggestions for how to write a unit test for this use case.
> 
> 
> Thanks,
> 
> Benjamin Smith
> 
>

Reply via email to