Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/5732#discussion_r29398534
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/util/HdfsUtils.scala ---
@@ -27,7 +27,7 @@ private[streaming] object HdfsUtils {
// If the file exists and we have append support, append instead of
creating a new file
val stream: FSDataOutputStream = {
if (dfs.isFile(dfsPath)) {
- if (conf.getBoolean("hdfs.append.support", false)) {
+ if (conf.getBoolean("hdfs.append.support", false) ||
dfs.isInstanceOf[RawLocalFileSystem]) {
--- End diff --
@harishreedharan This change is to enable append when running locally.
Without this the unit tests fail because all the units are running on manual
clock and so all of them (when they reuse the same checkpoint directory) try to
write to log files with the same name.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]