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

Sean Owen commented on SPARK-21852:
-----------------------------------

The message isn't a problem, if there is no data at all. You're saying it's due 
to some app-level failure, which explains it. There are no corrupt records 
here. I don't see a problem described here, and those are better for the 
mailing list or StackOverflow anyway.

> Empty Parquet Files created as a result of spark jobs fail when read
> --------------------------------------------------------------------
>
>                 Key: SPARK-21852
>                 URL: https://issues.apache.org/jira/browse/SPARK-21852
>             Project: Spark
>          Issue Type: Bug
>          Components: Input/Output
>    Affects Versions: 2.2.0
>            Reporter: Shivam Dalmia
>
> I have faced an issue intermittently with certain spark jobs writing parquet 
> files which apparently succeed but the written .parquet directory in HDFS is 
> an empty directory (with no _SUCCESS and _metadata parts, even). 
> Surprisingly, no errors are thrown from spark dataframe writer.
> However, when attempting to read this written file, spark throws the error:
> {{Unable to infer schema for Parquet. It must be specified manually}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to