You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anuroopa George (JIRA)" <ji...@apache.org> on 2018/02/28 16:50:00 UTC

[jira] [Comment Edited] (SPARK-23513) java.io.IOException: Expected 12 fields, but got 5 for row :Spark submit error

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

Anuroopa George edited comment on SPARK-23513 at 2/28/18 4:49 PM:
------------------------------------------------------------------

Could you please post the complete spark-submit (along with the parameters)command you are using?


was (Author: anuroopa george):
Could you please post the complete spark-submit command you are using?

> java.io.IOException: Expected 12 fields, but got 5 for row :Spark submit error 
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-23513
>                 URL: https://issues.apache.org/jira/browse/SPARK-23513
>             Project: Spark
>          Issue Type: Bug
>          Components: EC2, Examples, Input/Output, Java API
>    Affects Versions: 1.4.0, 2.2.0
>            Reporter: Rawia 
>            Priority: Blocker
>
> Hello
> I'm trying to run a spark application (distributedWekaSpark) but  when I'm using the spark-submit command I get this error
> {quote}{quote}ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0) java.io.IOException: Expected 12 fields, but got 5 for row: outlook,temperature,humidity,windy,play
> {quote}{quote}
> I tried with other datasets but always the same error appeared, (always 12 fields expected)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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