You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/13 16:32:00 UTC

[jira] [Commented] (SPARK-7599) Don't restrict customized FSBasedRelation OutputCommitter to be subclass of FileOutputFormat

    [ https://issues.apache.org/jira/browse/SPARK-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542006#comment-14542006 ] 

Apache Spark commented on SPARK-7599:
-------------------------------------

User 'liancheng' has created a pull request for this issue:
https://github.com/apache/spark/pull/6118

> Don't restrict customized FSBasedRelation OutputCommitter to be subclass of FileOutputFormat
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-7599
>                 URL: https://issues.apache.org/jira/browse/SPARK-7599
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>            Priority: Blocker
>
> Used {{FileOutputCommitter}} here because we need to retrieve the actual path of file being written, which is returned by {{FileOutputCommitter.getWorkPath}}. This implies customized output committers must be subclasses of {{FileOutputCommitter}}, which was true for {{DirectParquetOutputCommitter}}. But this restriction is too strict. Should resort to {{OutputCommitter}} rather than {{FileOutputCommitter}}.



--
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