You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/08/30 04:06:00 UTC

[jira] [Assigned] (SPARK-20886) HadoopMapReduceCommitProtocol to fail with message if FileOutputCommitter.getWorkPath==null

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

Hyukjin Kwon reassigned SPARK-20886:
------------------------------------

    Assignee: Steve Loughran

This was fixed in a way to allow {{null}} case.

> HadoopMapReduceCommitProtocol to fail with message if FileOutputCommitter.getWorkPath==null
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20886
>                 URL: https://issues.apache.org/jira/browse/SPARK-20886
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Trivial
>             Fix For: 2.3.0
>
>
> This is minor, and the root cause is my fault *elsewhere*, but its the patch I used to track down the problem.
> If {{HadoopMapReduceCommitProtocol}} has a {{FileOutputCommitter}} for committing things, and *somehow* that's been configured with a {{JobAttemptContext}}, not a {{TaskAttemptContext}}, then the committer NPEs.
> A {{require()}} statement can validate the working path and so point the blame at whoever's code is confused.



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