I have an application that uses FSDataOutputStream to write data to HDFS.
FSDataOutputStream
In order to write that data I use FSDataOutputStream\'s hflush
hflush