You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/01/06 10:56:39 UTC

[jira] [Resolved] (SPARK-2867) saveAsHadoopFile() in PairRDDFunction.scala should allow use other OutputCommiter class

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

Sean Owen resolved SPARK-2867.
------------------------------
    Resolution: Not A Problem

This can be specified in the Hadoop {{Configuration}}

> saveAsHadoopFile() in PairRDDFunction.scala should allow use other OutputCommiter class
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-2867
>                 URL: https://issues.apache.org/jira/browse/SPARK-2867
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Joseph Su
>            Priority: Minor
>
> The saveAsHadoopFile() in PairRDDFunction.scala hard-coded the OutputCommitter class as FileOutputCommitter because of the following code in the source:
>    hadoopConf.setOutputCommitter(classOf[FileOutputCommitter])
>  However, OutputCommitter is a changeable option in regular Hadoop MapReduce program. Users can specify "mapred.output.committer.class" to change the committer class used by other Hadoop programs.
>   The saveAsHadoopFile() function should remove this hard-coded assignment and provide a way to specify the OutputCommitte used here. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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