GitHub user cmccabe opened a pull request:
https://github.com/apache/spark/pull/898
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cmccabe/spark SPARK-1518
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/898.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #898
----
commit 45dbb7acbe1500ec4b25fa9ea704a5026b708404
Author: Colin Patrick Mccabe <[email protected]>
Date: 2014-05-28T00:28:12Z
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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---