diff options
author | Colin McCabe <cmccabe@cloudera.com> | 2014-06-04 15:56:29 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-06-04 15:56:29 -0700 |
commit | 1765c8d0ddf6bb5bc3c21f994456eba04c581de4 (patch) | |
tree | 604b2391d61dce732a8bfc5c6f1e3dd7c52102b0 /streaming | |
parent | 189df165bb7cb8bc8ede48d0e7f8d8b5cd31d299 (diff) | |
download | spark-1765c8d0ddf6bb5bc3c21f994456eba04c581de4.tar.gz spark-1765c8d0ddf6bb5bc3c21f994456eba04c581de4.tar.bz2 spark-1765c8d0ddf6bb5bc3c21f994456eba04c581de4.zip |
SPARK-1518: FileLogger: Fix compile against Hadoop trunk
In Hadoop trunk (currently Hadoop 3.0.0), the deprecated
FSDataOutputStream#sync() method has been removed. Instead, we should
call FSDataOutputStream#hflush, which does the same thing as the
deprecated method used to do.
Author: Colin McCabe <cmccabe@cloudera.com>
Closes #898 from cmccabe/SPARK-1518 and squashes the following commits:
752b9d7 [Colin McCabe] FileLogger: Fix compile against Hadoop trunk
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions