spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-25677) [Spark Compression] spark.io.compression.codec = org.apache.spark.io.ZstdCompressionCodec throwing IllegalArgumentException Exception
Date Mon, 08 Oct 2018 06:15:00 GMT

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

Apache Spark commented on SPARK-25677:
--------------------------------------

User 'shivusondur' has created a pull request for this issue:
https://github.com/apache/spark/pull/22669

> [Spark Compression] spark.io.compression.codec = org.apache.spark.io.ZstdCompressionCodec
throwing IllegalArgumentException Exception
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25677
>                 URL: https://issues.apache.org/jira/browse/SPARK-25677
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.1
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Major
>
> To check the Event Log compression size with different compression technique mentioned
in Spark Doc
> Set below parameter in spark-default.conf of JDBC and JobHistory
> 1. spark.eventLog.compress=true
> 2. Enable spark.io.compression.codec = org.apache.spark.io.ZstdCompressionCodec( Checked
the value in Spark Doc )
> 3. Restart the JDBC and Job History Services
> 4. Check the JDBC and Job History Logs
> Exception throws
> ava.lang.IllegalArgumentException: No short name for codec org.apache.spark.io.ZstdCompressionCodec.
>  at org.apache.spark.io.CompressionCodec$$anonfun$getShortName$2.apply(CompressionCodec.scala:94)
>  at org.apache.spark.io.CompressionCodec$$anonfun$getShortName$2.apply(CompressionCodec.scala:94)
>  at scala.Option.getOrElse(Option.scala:121)
>  at org.apache.spark.io.CompressionCodec$.getShortName(CompressionCodec.scala:94)
>  at org.apache.spark.SparkContext$$anonfun$9.apply(SparkContext.scala:414)
>  at org.apache.spark.SparkContext$$anonfun$9.apply(SparkContext.scala:414)
>  at scala.Option.map(Option.scala:146)
>  at org.apache.spark.SparkContext.<init>(SparkContext.scala:414)
>  at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2507)
>  at org.apache.spark.sql.SparkSession$Builder$$anonfun$7.apply(SparkSession.scala:939)
>  at



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


Mime
View raw message