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

Shivam Dalmia updated SPARK-21852:
----------------------------------
    Description: 
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}}


> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to