spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-22788) HdfsUtils.getOutputStream uses non-existent Hadoop conf "hdfs.append.support"
Date Thu, 14 Dec 2017 21:11:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-22788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-22788:
------------------------------------

    Assignee:     (was: Apache Spark)

> HdfsUtils.getOutputStream uses non-existent Hadoop conf "hdfs.append.support"
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-22788
>                 URL: https://issues.apache.org/jira/browse/SPARK-22788
>             Project: Spark
>          Issue Type: Bug
>          Components: DStreams
>    Affects Versions: 1.6.0
>            Reporter: Marcelo Vanzin
>            Priority: Trivial
>
> Code: 
> {noformat}
>         if (conf.getBoolean("hdfs.append.support", false) || dfs.isInstanceOf[RawLocalFileSystem])
{
>           dfs.append(dfsPath)
>         } else {
>           throw new IllegalStateException("File exists and there is no append support!")
>         }
> {noformat}
> This makes the exception to be thrown if you enable {{writeAheadLog.closeFileAfterWrite}}
with HDFS.
> The correct config, from {{DFSConfigKeys}}, is {{dfs.support.append}}, and the default
value is true.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message