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

Sean Owen resolved SPARK-25366.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

Issue resolved by pull request 22358
[https://github.com/apache/spark/pull/22358]

> Document Zstd and brotli CompressionCodec requirements for Parquet files
> ------------------------------------------------------------------------
>
>                 Key: SPARK-25366
>                 URL: https://issues.apache.org/jira/browse/SPARK-25366
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation, SQL
>    Affects Versions: 2.4.0
>            Reporter: liuxian
>            Assignee: liuxian
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> Caused by: org.apache.parquet.hadoop.BadConfigurationException: Class 
> org.apache.hadoop.io.compress.*BrotliCodec* was not found
>         at 
> org.apache.parquet.hadoop.CodecFactory.getCodec(CodecFactory.java:235)
>         at 
> org.apache.parquet.hadoop.CodecFactory$HeapBytesCompressor.<init>(CodecFactory.java:142)
>         at 
> org.apache.parquet.hadoop.CodecFactory.createCompressor(CodecFactory.java:206)
>         at 
> org.apache.parquet.hadoop.CodecFactory.getCompressor(CodecFactory.java:189)
>         at 
> org.apache.parquet.hadoop.ParquetRecordWriter.<init>(ParquetRecordWriter.java:153)
>         at 
> org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:411)
>         at 
> org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:349)
>         at 
> org.apache.spark.sql.execution.datasources.parquet.ParquetOutputWriter.<init>(ParquetOutputWriter.scala:37)
>         at 
> org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$$anon$1.newInstance(ParquetFileFormat.scala:161)
>         
>         
>         
>         
>         
> Caused by: org.apache.parquet.hadoop.BadConfigurationException: Class 
> org.apache.hadoop.io.compress.*{color:#333333}ZStandardCodec{color}* was not 
> found
>         at 
> org.apache.parquet.hadoop.CodecFactory.getCodec(CodecFactory.java:235)
>         at 
> org.apache.parquet.hadoop.CodecFactory$HeapBytesCompressor.<init>(CodecFactory.java:142)
>         at 
> org.apache.parquet.hadoop.CodecFactory.createCompressor(CodecFactory.java:206)
>         at 
> org.apache.parquet.hadoop.CodecFactory.getCompressor(CodecFactory.java:189)
>         at 
> org.apache.parquet.hadoop.ParquetRecordWriter.<init>(ParquetRecordWriter.java:153)
>         at 
> org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:411)
>         at 
> org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:349)
>         at 
> org.apache.spark.sql.execution.datasources.parquet.ParquetOutputWriter.<init>(ParquetOutputWriter.scala:37)
>         at 
> org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat$$anon$1.newInstance(ParquetFileFormat.scala:161)



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

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

Reply via email to